From owner-freebsd-ports@FreeBSD.ORG Sun Apr 3 04:06:49 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DB76106564A for ; Sun, 3 Apr 2011 04:06:49 +0000 (UTC) (envelope-from zhoushuqun@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 159DD8FC12 for ; Sun, 3 Apr 2011 04:06:48 +0000 (UTC) Received: by vws18 with SMTP id 18so4339927vws.13 for ; Sat, 02 Apr 2011 21:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=XD92KUmQLa8eA6nnV4RcYHhKw6aYOQa5fE2hI2UqfGY=; b=C5lG6zfjZTLDsNKKaJWCPES90fZO6OEKK/Ry3KkIqZ3OMC+JWS+aVv7DsqsiyuSwo2 S2TLp+Wl2oCFHubJKVJv0WwSVRCoTG8OmPhX6kOrk2O7y3GxHpMTh+peJ0yT0YDdGk/E C7ZGWeYWVJJzCyCd7zODv2ZS2Th7T9/QyQ0Gc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=GSkdoUmkSv0031OKdK1g9czG7pHiVKXI7HO9Lb5/5wf2xwYfrcMEdRWkbQxzbf03Jd jkor8tfg82sc/r7B7RnvTzf03Wli0ePcBfiqNRuBJwrKjSJ/YDOM3tSCmO8LfYUtoiEO Yu2ZRCQCpnUVb0YVU9Mk5vVSrK4COa5Mrqt9U= Received: by 10.52.0.171 with SMTP id 11mr7704470vdf.201.1301801986147; Sat, 02 Apr 2011 20:39:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.169.71 with HTTP; Sat, 2 Apr 2011 20:39:05 -0700 (PDT) In-Reply-To: <4D97A179.60009@astart.com> References: <4D952102.4020101@astart.com> <201104010804.26285.avilla@freebsd.org> <4D97A179.60009@astart.com> From: Sutra Zhou Date: Sun, 3 Apr 2011 11:39:05 +0800 Message-ID: To: papowell@astart.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Alberto Villa , freebsd-ports@freebsd.org Subject: Re: Automating Port Building- Setting options on the command line X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2011 04:06:49 -0000 What about using /usr/ports/ports-mgmt/portconf/? On Sun, Apr 3, 2011 at 6:21 AM, Patrick Powell 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" >