pkgsrc-Bulk archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CHECK_WRKREF=yes
On Fri, Jun 10, 2005 at 11:43:53PM +0000, Johnny C. Lam wrote:
> I've committed some changes Dan McMahill sent to me to add a "check-wrkref"
> target to bsd.pkg.mk. When run, it will grep through the installed
> files for the package and see if ${WRKDIR} is in any of those files.
> You can activate this check by setting:
>
> CHECK_WRKREF= yes
>
> in /etc/mk.conf. Positive hits will cause the files and the matching
> patterns to be output. If PKG_DEVELOPER is also defined, then any
> positive hits will cause the install to fail.
>
> I recommend setting this on bulk builds to catch any errors due to
> the switch to the new tools framework. As a side effect, it will also
> catch any unwrapped files.
In fact, if anyone with a fast machine cares to, a 'from scratch' bulk
build would be nice. In other words, point to an empty PACKAGES directory
so all packages are rebuilt.
-Dan
--
Home |
Main Index |
Thread Index |
Old Index