Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 21:54:27 +0100
From:      Nils Vogels <nivo+sender+6075ff@is-root.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Building Ports w/ Options, Env
Message-ID:  <4558DB83.1020509@is-root.com>
In-Reply-To: <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com>
References:  <20061113184057.32400.qmail@web57813.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rachel Florentine wrote on 13-11-2006 19:40:
> That would set up the environment, and might actually be correct as written ;) I'm a whole lot less confident of the following:
>
>   MAKE_ARGS = {
>     '/usr/ports/net/openldap23-server'=> [
>     '--localstatedir=/var/run/slapd',
>     '--enable-spasswd',
> etc, etc
>     ],
>   }
>   
What you put between the brackets [], is passed to make ans should be
options that make recognizes.

A small example:

 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',
  }

HTH & HAND

Nils

-- 
Those who desire to give up freedom in order to gain security, will not have, nor do they deserve, either one.

~Benjamin Franklin (American Statesman, Scientist, Philosopher, Printer, Writer and Inventor. 1706-1790)



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