Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 15:28:34 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Stanislav Sedov" <ssedov@mbsd.msk.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports without configure do not receive CC
Message-ID:  <790a9fff0608101328j533ca925k8f147f0c9ce80687@mail.gmail.com>
In-Reply-To: <20060810234844.107d0871@localhost>
References:  <44DB5692.6040005@gmx.de> <20060810214516.7e0ff056@localhost> <44DB72FC.8010009@gmx.de> <20060810224838.639c57e8@localhost> <44DB87FA.4020505@gmx.de> <20060810234844.107d0871@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/10/06, Stanislav Sedov <ssedov@mbsd.msk.ru> wrote:
> On Thu, 10 Aug 2006 21:24:42 +0200
> "[LoN]Kamikaze" <LoN_Kamikaze@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.



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