OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: /usr/local spillage

From: Ted Unangst (teduzeitbombe.org)
Date: Mon Jan 03 2005 - 01:58:18 CST


On Sun, 2 Jan 2005, Jim Dew wrote:

> > > print/htmldoc for one. (/htmldoc-1.8.23_writes_to_HOME)
> >
> > Sorry, may be I'm a little bit dull at the moment[1], but I just did
> >
> > $ cd /usr/ports/print/htmldoc && make package
> >
> > Neither did systrace complain (and I *have* USE_SYSTRACE enabled)
> > nor did anything write to my or roots HOME directory.
>
> Oh, it dosen't actually write to $HOME, it writes to
> "/htmldoc-1.8.23_writes_to_HOME"

from bsd.port.mk:

PORTHOME?= /${PKGNAME}_writes_to_HOME

MAKE_ENV+= PATH='${PORTPATH}' PREFIX='${PREFIX}' \
    LOCALBASE='${LOCALBASE}' X11BASE='${X11BASE}' \
    MOTIFLIB='${MOTIFLIB}' CFLAGS='${CFLAGS:C/ *$//}' \
    TRUEPREFIX='${PREFIX}' ${DESTDIRNAME}='' \
    HOME='${PORTHOME}'

--
you are more than the sum of what you consume