pkgsrc-Bugs archive

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

Re: pkg/50614 (Architecture mismatch on Darwin)



The following reply was made to PR pkg/50614; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, mmayer%mmayer.net@localhost
Subject: Re: pkg/50614 (Architecture mismatch on Darwin)
Date: Sun, 3 Jan 2016 02:34:38 +0100

 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