From owner-freebsd-ports@FreeBSD.ORG Sat Sep 19 19:46:48 2009 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 EF9CC106568B for ; Sat, 19 Sep 2009 19:46:48 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8992A8FC17 for ; Sat, 19 Sep 2009 19:46:48 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n8JJkZ2b099608; Sat, 19 Sep 2009 20:46:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n8JJkZ2b099608 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1253389603; bh=QmIeFg6tPjEQe5jGueZMo/Bfeg9d+Lyy1kfeOBfWjcs=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AB53514.3020007@infracaninophile.co.uk>|Date:=20S at,=2019=20Sep=202009=2020:46:28=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20HM=202K=20|CC:=20freebsd-ports@ freebsd.org|Subject:=20Re:=20make=20options|References:=20<7f7d0a6 70909191056l2ee31666l3d8925bbce2ce87a@mail.gmail.com>|In-Reply-To: =20<7f7d0a670909191056l2ee31666l3d8925bbce2ce87a@mail.gmail.com>|X -Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20 micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signatu re"=3B=0D=0A=20boundary=3D"------------enigEA3B4C3D13E6A31F99CFFD3 6"; b=NaQ/mhyTwZ+HDCbxfb2jxslFohO8CpdE7FYHtlJjJl5w+2TU18Ijw81/7E8Ho+q9B QBwx0EMc+P5jFE9BTtqvvKL+fDZvP6gGctMmc2E/nk8JPXmBF8/p0Nx3Yqi6Q82Ix1 GcA88ZeCj1oQqbbOPn/7OIbaAvG1bWAp0oiM+TwM= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AB53514.3020007@infracaninophile.co.uk> Date: Sat, 19 Sep 2009 20:46:28 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: HM 2K References: <7f7d0a670909191056l2ee31666l3d8925bbce2ce87a@mail.gmail.com> In-Reply-To: <7f7d0a670909191056l2ee31666l3d8925bbce2ce87a@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigEA3B4C3D13E6A31F99CFFD36" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-ports@freebsd.org Subject: Re: make options 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: Sat, 19 Sep 2009 19:46:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEA3B4C3D13E6A31F99CFFD36 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable HM 2K wrote: > When making some ports, they display an "options" interface. >=20 > Is there a way to specify these options so that the interface does not > appear? You only get the options dialogue one time -- once you've answered the=20 questions it asks, it writes the answers into per-port subdirectories of /var/db/ports/. So long as the set of options remains constant, you won't be presented with an options dialogue again for that port, although= you can just run 'make config' at any time to change your choices. Now, if you want to automate building of ports and not suffer the frustra= tion of your build machine sitting there uselessly all night waiting for you t= o tick some box, there are two choices. * Define BATCH in the make environment or as a variable in /etc/make.co= nf. This will cause all OPTIONS dialogues to be suppressed and the port w= ill be built with the defaults where no previous settings exist. * Run 'make config-recursive' for every important port you want to buil= d. You will have to re-run the command repeatedly until you no longer ge= t prompted with any OPTIONS dialogues -- turning an option on or off=20 will generally result in modifying the ports dependencies, and newly introduced dependencies may well have their own OPTIONS dialogues. Of course, you can supply the same information that is generated by the OPTIONS dialogues by alternate means. The output of the dialogues are ju= st small Makefiles, which you could copy from another system, or write by=20 hand. In principle you could incorporate the same variable settings in s= ay, /etc/make.conf but I've never tried that and cannot confirm that it works= as expected. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigEA3B4C3D13E6A31F99CFFD36 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkq1NRoACgkQ8Mjk52CukIxjKwCfSDBiG79MSEVk52DfIAPrMINc dZcAni4VMyDhwzla8ozNioToTof2N9xe =YFT4 -----END PGP SIGNATURE----- --------------enigEA3B4C3D13E6A31F99CFFD36--