On Tue, Jun 11, 2002 at 05:57:01PM +1000, Bruce Evans wrote:
> On Mon, 10 Jun 2002, Masahide -mac- NODA wrote:
>
> > In /usr/share/mk/bsd.*.mk, 'beforeinstall' target execute after install
> > on current.
> >
> > You found it to doing below in current:
> >
> > % cd /usr/src/share/mk
> > % make install -n
> > install -c -o root -g wheel -m 444 bsd.README ...
> > date '+%Y%m%d' > /var/db/port.mkversion
> > %
> >
> > but, in makefile,
> >
> > beforeinstall:
> > date '+%Y%m%d' > ${DESTDIR}/var/db/port.mkversion
> >
> >
> > beforeinstall target execute after install.
> >
> > ### I found it at installing portupgrade from ports. :-)
>
> This bug seems to be mainly in bsd.file.mk. realinstall depends on both
> installfiles and beforeinstall, but there is no dependency of installfiles
> on beforeinstall. This can probably be fixed by adding the dependency
> (in bsd.files.mk).
>
I have a better idea, and will commit the fix after a preliminary testing.Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg39997/pgp00000.pgp
Description: PGP signature
