pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk use 'solaris2' instead of 'solaris' in MACHINE_GNU_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9270391e785
branches:  trunk
changeset: 462735:c9270391e785
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Oct 11 06:46:45 2003 +0000

description:
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.

diffstat:

 mk/bsd.prefs.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 931f593c7537 -r c9270391e785 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Sat Oct 11 06:24:52 2003 +0000
+++ b/mk/bsd.prefs.mk   Sat Oct 11 06:46:45 2003 +0000
@@ -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 @@
 .  endif
 LOWER_VENDOR?=         sun
 LOWER_OPSYS?=          solaris
+LOWER_OPSYS_VERSUFFIX= 2
 
 .elif ${OPSYS} == "Linux"
 LOWER_OPSYS?=          linux
@@ -132,7 +133,7 @@
 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.



Home | Main Index | Thread Index | Old Index