From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 18:13:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B90D816A405 for ; Mon, 12 Mar 2007 18:13:37 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id 54D8D13C487 for ; Mon, 12 Mar 2007 18:13:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id l2CIDZXk033730; Mon, 12 Mar 2007 19:13:35 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 2684CB845; Mon, 12 Mar 2007 19:13:35 +0100 (CET) Date: Mon, 12 Mar 2007 19:13:35 +0100 From: Roland Smith To: Alexander Schlichting Message-ID: <20070312181335.GA26863@slackbox.xs4all.nl> Mail-Followup-To: Alexander Schlichting , freebsd-questions@freebsd.org References: <042d01c76476$b226bc30$16743490$@net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <042d01c76476$b226bc30$16743490$@net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Recover Make ARG's from a ports Install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 18:13:37 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 12, 2007 at 08:18:25AM +0100, Alexander Schlichting wrote: > =20 >=20 > On a server I have a package installed using ports and now I have to inst= all > the package with exactly the same make arguments on another server. I just > don't find a way to see what arguments where used to install it the first > time. With Linux I would look into config.status is there something simil= ar > with FreeBSD? Sorry for having to ask but I am using FreeBSD for the first > days now after 5 years using Linux only :) If the arguments are given on the command line when invonkig make in the port directory, they are not saved. A mechanism (called OPTIONS) was later added to the ports infrastructure that does save the arguments. Not all ports have been completely converted to using options, and some arguments cannot be set with options. But if arguments are set with the OPTIONS mechanism, you can find them in the file /var/db/ports//options. Additionally, arguments can be set in /etc/make.conf. Those should look like this: =2Eif ${.CURDIR:M*/graphics/povray} WITH_OPTIMIZED_FLAGS=3Dyes =2Eendif This means that when make is invoked in a directory that ends in graphics/povray, the variable WITH_OPTIMIZED_FLAGS is set. HTH, Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD4DBQFF9ZhPEnfvsMMhpyURAjWkAJ4sdXP2yCL1JV7kVf9kxGKresVuGACXcN1M dGDeHtvJqJ0CRu5L/Nen5g== =rsO7 -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--