tech-pkg archive

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

MACHINE_GNU_PLATFORM setting



I noticed that [NATIVE_]MACHINE_GNU_PLATFORM is set using
[NATIVE_]LOWER_ARCH not [NATIVE_]MACHINE_GNU_ARCH which would make a lot
more sense!

This is the cause of PR pkg/43147

Any objections to the below patch?

--
Steven

Index: bsd.prefs.mk
===================================================================
RCS file: /srv/netbsd-cvs/pkgsrc/mk/bsd.prefs.mk,v
retrieving revision 1.307
diff -u -p -r1.307 bsd.prefs.mk
--- bsd.prefs.mk        6 Feb 2010 11:40:22 -0000       1.307
+++ bsd.prefs.mk        11 Apr 2010 11:30:53 -0000
@@ -287,8 +287,8 @@ NATIVE_MACHINE_ARCH:=               ${MACHINE_ARCH}
 
 NATIVE_MACHINE_PLATFORM?=      ${OPSYS}-${OS_VERSION}-${NATIVE_MACHINE_ARCH}
 MACHINE_PLATFORM?=             ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
-NATIVE_MACHINE_GNU_PLATFORM?=  
${NATIVE_LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}
-MACHINE_GNU_PLATFORM?=         
${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}
+NATIVE_MACHINE_GNU_PLATFORM?=  
${NATIVE_MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}
+MACHINE_GNU_PLATFORM?=         
${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}
 
 # Needed to prevent an "install:" target from being created in bsd.own.mk.
 NEED_OWN_INSTALL_TARGET=no


Home | Main Index | Thread Index | Old Index