Building Ports w/ Options, Env
Eric Schuele
e.schuele at computer.org
Tue Nov 14 20:19:16 UTC 2006
On 11/14/06 13:32, Rachel Florentine wrote:
> ----- Original Message ----
> From: Eric Schuele <e.schuele at computer.org>
>>> MAKE_ARGS = {
>>> 'www/squid' => 'CONFIGURE_ARGS+=--enable-delay-pools
>>> --enable-snmp --enable-ssl --enable-ipf-transparent
>>> --enable-removal-policies',
>>> 'mail/imp' => 'WITH_HTML=yes WITH_COURIER-IMAP=yes',
>>> }
>> Okay, that makes sense! Is it, then, the same thing with env variables? Just put
>> everything between the cury braces (or are they brackets??) in the
>>
> MAKE_ARGS definition?
>
> Eric, two questions:
> 1) Are they brackets [] or curly braces {} or does it matter?
> 2) Can you give me an example of how to include env vars? That would be different than 'CONFIGURE_ARGS+=--...', right?
>
I'm no expert here but...
1) MAKE_ARGS (and MAKE_ENV) is a hash... so it would be curly braces.
2) Use MAKE_ENV. (from the man page)
MAKE_ENV = {
'databases/mysql41-*' => [
'WITH_LINUXTHREADS=1',
'SKIP_DNS_CHECK=1',
],
}
HTH.
> TIA,
> Rachel
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
--
Regards,
Eric
More information about the freebsd-questions
mailing list