Date: Sun, 3 Apr 2011 11:39:05 +0800 From: Sutra Zhou <zhoushuqun@gmail.com> To: papowell@astart.com Cc: Alberto Villa <avilla@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: Automating Port Building- Setting options on the command line Message-ID: <BANLkTikh4-2edDXErTVME-jPB0_VBC=CFA@mail.gmail.com> In-Reply-To: <4D97A179.60009@astart.com> References: <4D952102.4020101@astart.com> <201104010804.26285.avilla@freebsd.org> <4D97A179.60009@astart.com>
next in thread | previous in thread | raw e-mail | index | archive | help
What about using /usr/ports/ports-mgmt/portconf/? On Sun, Apr 3, 2011 at 6:21 AM, Patrick Powell <papowell@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=3Dyes THAT=3Dno >> >> cd /usr/ports/multimedia/kdenlive >> make -DWITH_DVD -DWITH_FREI0R -DWITHOUT_LADSPA > > This did the trick. =C2=A0However, 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. =C2=A0 I am planning to migrate to tinderbox in the ne= ar > future. > > -- > Patrick Powell =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 As= tart Technologies > papowell@astart.com =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01530 Jamacha= Road, Suite X, > Network and System =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 San Diego, C= A 92019 > =C2=A0Consulting =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 858-874-6543 > Web Site: www.astart.com > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikh4-2edDXErTVME-jPB0_VBC=CFA>