Subject: Re: pkg/36953: Darwin/8.10 PowerPC build of pkgsrc binary kit
To: None <darwin-pkg-people@netbsd.org, gnats-admin@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 09/23/2007 15:15:11
The following reply was made to PR pkg/36953; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: Jesse Peterson <jpeterson275@comcast.net>
Subject: Re: pkg/36953: Darwin/8.10 PowerPC build of pkgsrc binary kit
	fails to compile
Date: Sun, 23 Sep 2007 17:13:12 +0200

 --Dxnq1zWXvFF0Q93v
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Mon, Sep 10, 2007 at 07:35:03AM +0000, Jesse Peterson wrote:
 >  gcc: -E, -S, -save-temps and -M options are not allowed with multiple -arch flag
 
 Ah, right. The attempt to create universal binaries conflicts with the
 dependency extraction. Can you try the attached patch?
 
 Joerg
 
 --Dxnq1zWXvFF0Q93v
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="pkg_install.diff"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/joerg/repo/netbsd/pkgsrc/pkgtools/pkg_install/Makefile,v
 retrieving revision 1.142
 diff -u -r1.142 Makefile
 --- Makefile	8 Sep 2007 21:57:59 -0000	1.142
 +++ Makefile	23 Sep 2007 15:11:40 -0000
 @@ -137,7 +137,8 @@
  	cd ${WRKDIR}/libarchive &&					\
  	${SETENV} ${_CONFIGURE_SCRIPT_ENV}				\
  		${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS}			\
 -		./configure --disable-shared --disable-bsdtar
 +		./configure --disable-shared --disable-bsdtar		\
 +		--disable-dependency-tracking
  	cd ${WRKDIR}/libarchive && ${BUILD_MAKE_CMD}
  .endif
  
 
 --Dxnq1zWXvFF0Q93v--