Automating Port Building- Setting options on the command line

Sutra Zhou zhoushuqun at gmail.com
Sun Apr 3 04:06:49 UTC 2011


What about using /usr/ports/ports-mgmt/portconf/?

On Sun, Apr 3, 2011 at 6:21 AM, Patrick Powell <papowell at astart.com> wrote:
> On 03/31/11 23:04, Alberto Villa wrote:
>>
>> On Friday 01 April 2011 02:49:06 Patrick Powell wrote:
>>>
>>> What I would like to do is pass in a set of default options on the
>>> command line
>>> such as:
>>>
>>> cd /usr/ports/lang/php5-extensions
>>> make configure THIS=yes THAT=no
>>
>> cd /usr/ports/multimedia/kdenlive
>> make -DWITH_DVD -DWITH_FREI0R -DWITHOUT_LADSPA
>
> This did the trick.  However, to bombproof it a little:
>
> make rmconfig -DWITH_OPTION ... target
>
> Once you do this you need to always put the rmconfig target in the make
> command.
>
> This is exactly what I wanted.
>
> I have been looking at tinderbox in more detail and it appears to be
> a better solution.   I am planning to migrate to tinderbox in the near
> future.
>
> --
> Patrick Powell                 Astart Technologies
> papowell at astart.com            1530 Jamacha Road, Suite X,
> Network and System             San Diego, CA 92019
>  Consulting                   858-874-6543
> Web Site: www.astart.com
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list