Global ports customization

Kris Kennaway kris at obsecurity.org
Mon Feb 23 13:27:21 PST 2004


On Tue, Feb 24, 2004 at 12:18:17AM +0300, Rodion Novoselov wrote:
> Hello.
> 
> I'm used to putting down customization things for ports into
> /etc/make.conf file. However, I consider it to be a pretty wrong place
> because /etc/make.conf is included implicitly every time make runs no
> matter whether I build a port or something else. Having looked
> bsd.port.mk through I've found an opportunity to add a per-port
> customization via ${PORTSDIR}/${PORTORIGIN}/Makefile.local. Why
> shouldn't do the same stuff for the ports collection at whole and add
> something like:
> 
> .if exists(${PORTSDIR}/Makefile.local)
> .include "${PORTSDIR}/Makefile.local"
> .endif
> 
> to bsd.port.mk?

Frankly I don't really see the need.  The problem of /etc/make.conf
being used for non-port makes is not significant.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040223/7f40c863/attachment.bin


More information about the freebsd-ports mailing list