Date: Sun, 20 Oct 2002 12:45:30 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Edwin Groothuis <edwin@mavetju.org> Cc: current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: cdrtools doesn't build on -current Message-ID: <3DB307DA.CF9C2D13@mindspring.com> References: <6100BCEB85F8E244959C756C04E0EDD161CAD9@otcexc01.otc.adaptec.com> <3DB12F07.4060000@gmx.net> <20021020025346.GA42527@dragon.nuxi.com> <20021020090027.GP934@k7.mavetju>
next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis wrote: > On Sat, Oct 19, 2002 at 07:53:46PM -0700, David O'Brien wrote: > > On Sat, Oct 19, 2002 at 12:08:07PM +0200, Michael Nottebrock wrote: > > > The single one -CURRENT vs. -STABLE difference that causes many easy to > > > fix breakages is really gcc. > > ... > > > and not every port-maintainer has access to a -CURRENT machine to > > > provide selfmade patches. > > > > That is 110% not a valid excluse: > > > > cd /usr/ports/lang/gcc32 > > make install > > cd /usr/ports/foo/bar > > make CC=gcc32 > > CXX=g++32 is also needed for C++ programs. And it won't remove the headers. And the header paths on older versions of FreeBSD are overridden in bsd.prog.mk and bsd.lib.mk if DESTDIR is set, so you can't use anything by the system supplied compiler. And ports always set DESTDIR. So basically, you will have to have the new /usr/share/mk files, and then use the "-m" argument to "make" to specify the directory. This still won't help you with stale include files, but it's the best you are going to get, I think. Cross-building ports is even harder than cross-building FreeBSD itself. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB307DA.CF9C2D13>