Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2006 14:17:25 -0600
From:      Eric Schuele <e.schuele@computer.org>
To:        Rachel Florentine <rachel_florentine@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Building Ports w/ Options, Env
Message-ID:  <455A2455.8020806@computer.org>
In-Reply-To: <20061114193202.76602.qmail@web57810.mail.re3.yahoo.com>
References:  <20061114193202.76602.qmail@web57810.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/14/06 13:32, Rachel Florentine wrote:
> ----- Original Message ----
> From: Eric Schuele <e.schuele@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 


-- 
Regards,
Eric



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