summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-11 06:46:45 +0000
committergrant <grant@pkgsrc.org>2003-10-11 06:46:45 +0000
commit1e6dc66ad08858edb10cfe840e4755439301b1b5 (patch)
treec88c6f28d0c65441164306eeccc5b3f078956fa1
parent2a367b58d9baa77fb313d23989c72cd373fc857d (diff)
downloadpkgsrc-1e6dc66ad08858edb10cfe840e4755439301b1b5.tar.gz
use 'solaris2' instead of 'solaris' in MACHINE_GNU_PLATFORM to
fix breakage in some GNU configure scripts. based on patch from Jonathan Perkin in PR pkg/20701.
-rw-r--r--mk/bsd.prefs.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 7bc0d806520..4c7d9402396 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.129 2003/10/08 10:07:20 agc Exp $
+# $NetBSD: bsd.prefs.mk,v 1.130 2003/10/11 06:46:45 grant Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -85,6 +85,7 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
+LOWER_OPSYS_VERSUFFIX= 2
.elif ${OPSYS} == "Linux"
LOWER_OPSYS?= linux
@@ -132,7 +133,7 @@ LOWER_VENDOR?=
LOWER_ARCH?= ${MACHINE_GNU_ARCH}
MACHINE_PLATFORM?= ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
-MACHINE_GNU_PLATFORM?= ${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}${APPEND_ELF}
+MACHINE_GNU_PLATFORM?= ${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}${LOWER_OPSYS_VERSUFFIX}${APPEND_ELF}
# Needed on NetBSD and SunOS (zoularis) to prevent an "install:" target
# from being created in bsd.own.mk.