pkgsrc-Bugs archive

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

Re: pkg/50614 (Architecture mismatch on Darwin)



Better approach (untested):

Index: bootstrap
===================================================================
RCS file: /home/joerg/repo/netbsd/pkgsrc/bootstrap/bootstrap,v
retrieving revision 1.225
diff -u -p -r1.225 bootstrap
--- bootstrap	29 Dec 2015 21:13:57 -0000	1.225
+++ bootstrap	3 Jan 2016 01:33:16 -0000
@@ -560,6 +560,11 @@ Darwin)
 	check_compiler=yes
 	osrev=`uname -r`
 	macosx_version=`echo $osrev | awk -F . '{ print "10."$1-4; }'`
+	case "$machine_arch/$abi" in
+	i386/64)
+		machine_arch=x86_64
+		;;
+	esac
 	case "$macosx_version" in
 	10.[7-9])
 		packagemaker=/Applications/PackageMaker.app/Contents/MacOS/PackageMaker

Joerg


Home | Main Index | Thread Index | Old Index