Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Apr 2011 15:21:45 -0700
From:      Patrick Powell <papowell@astart.com>
To:        Alberto Villa <avilla@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Automating Port Building- Setting options on the command line
Message-ID:  <4D97A179.60009@astart.com>
In-Reply-To: <201104010804.26285.avilla@freebsd.org>
References:  <4D952102.4020101@astart.com> <201104010804.26285.avilla@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@astart.com            1530 Jamacha Road, Suite X,
Network and System             San Diego, CA 92019
   Consulting                   858-874-6543
Web Site: www.astart.com




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