Date: Fri, 5 Mar 2004 17:37:08 +0300 From: Andrey Chernov <ache@nagual.pp.ru> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/gnu/usr.bin/binutils Makefile.inc0 Message-ID: <20040305143708.GA70192@nagual.pp.ru> In-Reply-To: <20040305141012.GA10639@ip.net.ua> References: <200403050147.i251l39I006593@repoman.freebsd.org> <200403042036.i24KaIeq025097@repoman.freebsd.org> <20040305141012.GA10639@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 05, 2004 at 04:10:12PM +0200, Ruslan Ermilov wrote: > Adding -I${DESTDIR}/usr/include broke upgrades from 4.x because > now /usr/include/getopt.h gets used (which requires sys/types.h) Why you decide, it requires sys/types.h? > instead of the proper one from ${WORLDTMP}/legacy/usr/include/, > usually /usr/obj/usr/src/i386/legacy/usr/include/getopt.h. I don't see any principal difficulties here. I use CFLAGS +=3D, so if you add -I.../legacy/... as first thing to CFLAGS= =20 (i.e. before mine one), your includes will be picked first. > Please find some other way to fix this. I see no other way to fix it until David will remove getopt* from=20 binutil's contrib. --=20 Andrey Chernov | http://ache.pp.ru/ --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQEiQk+JgpPLZnQjrAQGscQQAoX3EBpWEfB8oSlBqOPOPwwbCY+pvd6GS CNdNuWPzuNckvi3yXuq8dFvbXXnKG0aehX5l0oMVIXrajFTLq0vAQ56WuWXHbNTU rfaE49ztQ8F3lhkH0tP6Rrnk5fRk2zM8RSFKIJ5LxeotwtHxu3orG2Esi2OMCSdX tq6VmTI04O4= =0PhZ -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040305143708.GA70192>