From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22164 invoked by uid 1002); 24 Feb 2003 23:56:55 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 25025 invoked from network); 24 Feb 2003 23:56:54 -0000 Date: Mon, 24 Feb 2003 15:44:23 -0800 From: Matt Tucker To: Brandon Low cc: gentoo-dev@gentoo.org Message-ID: <106700000.1046130263@benzene.cobaltgroup.com> In-Reply-To: <101620000.1046129911@benzene.cobaltgroup.com> References: <20030224210337.GA32763@lostlogicx.com> <1046122741.4339.10.camel@malfus> <20030224223942.GC32763@lostlogicx.com> <101620000.1046129911@benzene.cobaltgroup.com> X-Mailer: Mulberry/3.0.1 (Linux/x86) Mail-Copies-To: nobody MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [gentoo-dev] db-3.2.9-r2 X-Archives-Salt: 6f47fd32-16db-4b88-8750-76cfe68c5dac X-Archives-Hash: 8a247e36e174d173b826224daef95fc5 -- Matt Tucker spake thusly: > Your compile command for db_dump185 is: > > gcc -c -D_GNU_SOURCE -I../dist/../include -D_REENTRANT > ../dist/../db_dump185/db_dump185.c > > whereas on my system it's using: > > gcc -I/usr/include/db1 -c -D_GNU_SOURCE -I../dist/../include > -D_REENTRANT ../dist/../db_dump185/db_dump185.c > > This stuff is hard-coded in dist/Makefile.in: > > DB185INC= -I/usr/include/db1 -c @CFLAGS@ > -I$(srcdir)/include @CPPFLAGS@ > DB185LIB= -ldb1 > . > . > . > db_dump185@o@: $(srcdir)/db_dump185/db_dump185.c > $(CC) $(DB185INC) $? > > However, it's _NOT_ in Makefile.in.orig, so I assume there's a gentoo > patch that you're not picking up. 'emerge sync' perhaps? A followup on this. In db-3.2.9-r2.ebuild, I see: # We should get dump185 to link against system db1 .. # (23 Feb 2003) cp ${S}/dist/Makefile.in ${S}/dist/Makefile.in.orig sed -e 's:DB185INC=:DB185INC= -I/usr/include/db1:' \ -e 's:DB185LIB=:DB185LIB= -ldb1:' \ ${S}/dist/Makefile.in.orig > ${S}/dist/Makefile.in I'm going to bet that this isn't in your version -- particularly because the change was apparently made yesterday. -- gentoo-dev@gentoo.org mailing list