ports without configure do not receive CC

Scot Hetzel swhetzel at gmail.com
Thu Aug 10 20:28:40 UTC 2006


On 8/10/06, Stanislav Sedov <ssedov at mbsd.msk.ru> wrote:
> On Thu, 10 Aug 2006 21:24:42 +0200
> "[LoN]Kamikaze" <LoN_Kamikaze at gmx.de> mentioned:
> > That leads to no end of problems if you have different settings for different ports,
> > because a port gets its specific settings and will later override them with the
> > settings that are set for all ports.
>
> You can use
> .if ${CURDIR:M*usr/ports/CATEGORY/PORTNAME/*}
> CC=XXX
> .endif
>
> like construction to support this.
>
Or use the sysutils/portconf port, and then place your port specific
variables in the /usr/local/etc/port.conf file, no need to clutter
/etc/make.conf.

CATEGORY/PORTNAME*: CC=XXX
editors/openoffice*: WITH_TTF_BYTECODE_ENABLED

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list