New FreeBSD package system (a.k.a. Daemon Package System (dps))

Mike Meyer mwm-keyword-freebsdhackers2.e313df at mired.org
Mon May 14 13:06:47 UTC 2007


In <861whjzzey.fsf at dwp.des.no>, Dag-Erling Smørgrav <des at des.no> typed:
> Mike Meyer <mwm at mired.org> writes:
> > Dag-Erling Smørgrav <des at des.no> writes:
> > A number of ports seem to depend on the directory tree in ${LOCALBASE}
> > existing - ${LOCALBASE}/man/... and ${LOCALBASE}/etc, in
> > particular. They use the INSTALL macros to point single files at
> > directories, which macro will quite happily create a file with the
> > target name if it's not a directory. This creates a number of
> > interesting problems later on.
> They can correctly assume that the directories exist because we always
> run 'mtree -f /etc/mtree/BSD.local.dist -P ${PREFIX}' before installing
> a port.

Except it apparently doesn't work if PREFIX is /usr.

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-hackers mailing list