From owner-freebsd-current Mon Dec 10 6:53: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 3B82F37B419 for ; Mon, 10 Dec 2001 06:52:49 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fBAEpR942605; Mon, 10 Dec 2001 16:51:27 +0200 (EET) (envelope-from ru) Date: Mon, 10 Dec 2001 16:51:27 +0200 From: Ruslan Ermilov To: Peter Wemm Cc: Mathieu Arnold , Warner Losh , current@FreeBSD.ORG Subject: Re: stable->current busted Message-ID: <20011210165127.A42117@sunbay.com> References: <3C106394.A9803F72@club-internet.fr> <20011208210832.2FC593808@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011208210832.2FC593808@overcee.netplex.com.au> User-Agent: Mutt/1.3.23i 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 On Sat, Dec 08, 2001 at 01:08:32PM -0800, Peter Wemm wrote: > Mathieu Arnold wrote: > > > > Warner Losh wrote: > > > > > > 4.4-r -> current build is very broken right now. I'll investigate and > > > fix. > > > > last time I did it, I had a problem with install, adding LDFLAGS+= > > -static to src/usr.bin/xinstall/Makefile fixed the problem. > > the problem was using install linked to libc.so.4 to do something like > > this : > > rm libc.so.4 > > install libc.so.4 > > which was failing for obvious reasons :) > > I think this will fix it: > > http://people.freebsd.org/~peter/compat.diff > > I would have liked to change the 'beforeinstall' to 'afterinstall' in > Makefile.inc, but afterinstall seems to not be usable. Another option is > this: > This makes `afterinstall' useable: Index: Makefile.inc =================================================================== RCS file: /home/ncvs/src/lib/compat/Makefile.inc,v retrieving revision 1.8 diff -u -r1.8 Makefile.inc --- Makefile.inc 2001/09/22 08:11:24 1.8 +++ Makefile.inc 2001/12/10 14:50:41 @@ -3,8 +3,7 @@ LIBCOMPATDIR?= ${LIBDIR}/compat/aout .if defined(LIBS) && !empty(LIBS) -beforeinstall: __remove-stale-libs -__remove-stale-libs: .PHONY +afterinstall: .for lib in ${LIBS} .if exists(${DESTDIR}${SHLIBDIR}/${lib}) -chflags noschg ${DESTDIR}${SHLIBDIR}/${lib} /me browses how many makefiles have afterinstall: depend on something else. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message