Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 16:51:27 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Peter Wemm <peter@wemm.org>
Cc:        Mathieu Arnold <arn_mat@club-internet.fr>, Warner Losh <imp@harmony.village.org>, current@FreeBSD.ORG
Subject:   Re: stable->current busted
Message-ID:  <20011210165127.A42117@sunbay.com>
In-Reply-To: <20011208210832.2FC593808@overcee.netplex.com.au>
References:  <3C106394.A9803F72@club-internet.fr> <20011208210832.2FC593808@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011210165127.A42117>