Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2004 00:18:17 +0300
From:      Rodion Novoselov <rodion@rndex.ru>
To:        freebsd-ports@freebsd.org
Cc:        portmgr@freebsd.org
Subject:   Global ports customization
Message-ID:  <20040223211817.GA53330@mossy.its.rndex.ru>

next in thread | raw e-mail | index | archive | help
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?

Best regards
Rodion Novoselov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223211817.GA53330>