pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/34207 (/usr/pkgsrc/Makefile -- "make index" deletes INDEX's dependency PKGDB)
The following reply was made to PR pkg/34207; it has been noted by GNATS.
From: Woodchuck <djv%bedford.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/34207 (/usr/pkgsrc/Makefile -- "make index" deletes INDEX's
dependency PKGDB)
Date: Tue, 2 Jan 2007 06:24:08 -0500 (EST)
On Tue, 2 Jan 2007, Joerg Sonnenberger wrote:
> The following reply was made to PR pkg/34207; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/34207 (/usr/pkgsrc/Makefile -- "make index" deletes
> INDEX's dependency PKGDB)
> Date: Tue, 2 Jan 2007 11:20:16 +0100
>
> On Sun, Dec 31, 2006 at 03:00:05AM +0000, Woodchuck wrote:
> > > Does it work as expected now?
> >
> > There is no change.
> >
> > Makefile seems unchanged
>
> You need rev. 1.78 of pkgsrc/Makefile.
>
> Joerg
# $NetBSD: Makefile,v 1.78 2006/12/29 19:02:25 joerg Exp $
#
The relevavnt part is:
${.CURDIR}/INDEX:
@${MAKE} ${.CURDIR}/PKGDB
@${RM} -f ${.CURDIR}/INDEX
@${AWK} -f ./mk/scripts/genindex.awk PKGSRCDIR=${.CURDIR} SORT=${SORT} $
{.CURDIR}/PKGDB
@${RM} -f ${.CURDIR}/PKGDB
It is the rm'ing of PKGDB that prompted the report; perhaps this
file should be created and removed everytime "make index" is
executed. Since this is many, many hours of CPU work, I did not
think that was the intent. But now I do believe it is the intent
of the author. Otherwise, a messy dependency chain to create PKGDB
would be necessary, and make would probably take longer to check it
than to create PKGDB from nothing.
So I believe the original report to have been made in error.
Dave
Home |
Main Index |
Thread Index |
Old Index