From owner-freebsd-current Sun Oct 20 12:46:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71A4F37B401; Sun, 20 Oct 2002 12:46:50 -0700 (PDT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5B5043E6E; Sun, 20 Oct 2002 12:46:49 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0230.cvx22-bradley.dialup.earthlink.net ([209.179.198.230] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 183M25-0001oZ-00; Sun, 20 Oct 2002 12:46:42 -0700 Message-ID: <3DB307DA.CF9C2D13@mindspring.com> Date: Sun, 20 Oct 2002 12:45:30 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Edwin Groothuis Cc: current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: cdrtools doesn't build on -current References: <6100BCEB85F8E244959C756C04E0EDD161CAD9@otcexc01.otc.adaptec.com> <3DB12F07.4060000@gmx.net> <20021020025346.GA42527@dragon.nuxi.com> <20021020090027.GP934@k7.mavetju> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-current" in the body of the message