From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 06:14:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A60D5F2 for ; Tue, 22 Apr 2014 06:14:59 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C332E180F for ; Tue, 22 Apr 2014 06:14:58 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s3M6Ekdj091316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 22 Apr 2014 07:14:47 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s3M6Ekdj091316 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1398147287; bh=eUF0g7bBdrBokp0KYQUs85RkeJq+URzQhwILRQbCyRY=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2022=20Apr=202014=2007:14:40=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20phpmyadmin=20name=20in=20pkgng|Re ferences:=20<5353E924.8070409@a1poweruser.com>=20<5353EA05.9010200 @FreeBSD.org>=20<535526B6.1080706@a1poweruser.com>=20<53552FCE.609 0801@FreeBSD.org>=20<535559D7.9010408@a1poweruser.com>=20=20<53556867.5030009@a1powe ruser.com>=20<20140421213503.d769f6e3.freebsd@edvax.de>|In-Reply-T o:=20<20140421213503.d769f6e3.freebsd@edvax.de>; b=DauG9IcM4Zcfc4k9MNHMeNWV71wwUp03olniIjyhwRuaEi4rcC9U4FK5XQRmZI7zd VttSkxqtJ31TfB78Q5Ojw3MCZIrm9Eqi24KQ1FTYRSu0YnbDH4gByb642ip1gkgSUe +Un1IAAa4rTaJ6823ULkVYJnvzlsOCeCYzVnx4z8= Message-ID: <535608D0.20900@infracaninophile.co.uk> Date: Tue, 22 Apr 2014 07:14:40 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: phpmyadmin name in pkgng References: <5353E924.8070409@a1poweruser.com> <5353EA05.9010200@FreeBSD.org> <535526B6.1080706@a1poweruser.com> <53552FCE.6090801@FreeBSD.org> <535559D7.9010408@a1poweruser.com> <53556867.5030009@a1poweruser.com> <20140421213503.d769f6e3.freebsd@edvax.de> In-Reply-To: <20140421213503.d769f6e3.freebsd@edvax.de> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TQQ812VCcEcx85lg95MxjaDGxmDv9IaEi" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 06:14:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TQQ812VCcEcx85lg95MxjaDGxmDv9IaEi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/04/2014 20:35, Polytropon wrote: > In the past, there has been such a mechanism which I've been > using for things like configuring mplayer. Maybe you can also > try this in your case? >=20 > Go into the port's directory and create a file Makefile.local. > In this file, you can define the options (which you can get > their names from the port's Makefile). The options usually > have the form of WITH_SOMETHING=3Dyes. >=20 > Downside: When you update your ports tree, the file will be > removed, so keep a backup! WITH_FOO and WITHOUT_BAR is pretty much out of date now. The OPTIONS mechanism doesn't use that syntax any more -- there are a few variables of that form still around, but many fewer than previously. So, for example, where, in /etc/make.conf, you might once have used: WITHOUT_X11=3D yes WITHOUT_NLS=3D yes to turn off X11 and NLS support generally, nowadays you'ld use: OPTIONS_UNSET+=3D X11 NLS You can also turn options on or off per port by: portname_SET=3D FOO BAR portname_USET=3D BAZ BLURFL Now, OPTIONS_SET, OPTIONS_UNSET, portname_SET or portname_UNSET are overridden by anything that is configured per port using an options dialogue. If you prefer /etc/make.conf to take precedence, then use OPTIONS_SET_FORCE, OPTIONS_UNSET_FORCE, portname_SET_FORCE or portname_UNSET_FORCE. `portname' is the output of: make -C /usr/ports/category/port -V OPTIONS_NAME eg, # make -C /usr/ports/databases/phpmyadmin -V OPTIONS_NAME databases_phpmyadmin All this stuff goes into /etc/make.conf, which is safe from being trashed when you update your ports tree. There are also some make(1) command line options which have the ultimate level of override: make -C /usr/ports/exitors/emacs WITHOUT=3D'X11 XFT XIM XPM' WITH=3D'X= ML' Read the comments in /usr/ports/Mk/bsd.options.mk for more information. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --TQQ812VCcEcx85lg95MxjaDGxmDv9IaEi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTVgjWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATaRUP/iTxqyD11U3MQZx8Vo4ot37X kMIRLO9fJ4F4i3vmQqS1n9MUyfJ7Bbpv/LA0ZMSSv+I5Agejg5hdT9cUyOCK9mTf wjoa8WMM7iXLvBqtcyIPNwN5RcxQ7n7FqRW2YUCv9SKug7Q+CuFacMsaLhp6eCat LhNmXKuTUbB/slmgXW4Il+Ob1EIfBuXRLYiZPFotY+YJB58IvXyAqtKrakZcJf4p Blq8E/LPlKR4hrw78udVSNUXPE06eZNTVSGup0/XpE5HXJyd99n0KBbWOVihv/t4 rbdv/m8jKQj99ZMo4EYWO00c3rupwJrdM1gg7mfX7RRBYiYfl0xJySTw92A93VeZ opBAFCDTU8S/YLFPpICxIeBCrM13tczBbPg3/hQPnRAG6IGLMxUE/1CDk7upUj9j 2mZByaLAKg6QLQFwJ9gyLd+xDRqaJK51mzroWzVgCWmAGg4Nhzjk9mJSIgajIRVS mpTfhDcZ+AgHFTUEUkKueILpfGWN7UQ4YeStJFVZ7k1iY9cnCQpxgf06v/vtMniw fA3QY/Ji9UbxPD3Yfs90opmbwfkETcBsBaw8R7haW3JJmYfT+IOp2h21fFLkEkYD ly9WI7EdRMn9a+SQN3XtSlmvIJpW2qoL72vAFBywqyTz7+dsWKhX6n4T6qUJsJer sP8ZsdVocdUUMvLK3LGO =2o6L -----END PGP SIGNATURE----- --TQQ812VCcEcx85lg95MxjaDGxmDv9IaEi--