From owner-freebsd-stable@FreeBSD.ORG Mon Apr 7 06:05:41 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9BC9822B for ; Mon, 7 Apr 2014 06:05:41 +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 46F50D59 for ; Mon, 7 Apr 2014 06:05:41 +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 s3765ZRa058295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 7 Apr 2014 07:05:36 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s3765ZRa058295 Authentication-Results: smtp.infracaninophile.co.uk/s3765ZRa058295; dkim=none reason="no signature"; dkim-adsp=none Message-ID: <5342402D.6070306@FreeBSD.org> Date: Mon, 07 Apr 2014 07:05:33 +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-stable@freebsd.org Subject: Re: How to remove X11 support and all ports options depend on X11 References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QwHGK6uNwmEn0A8vlMxBHvHcVuQmco7Fu" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2014 06:05:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QwHGK6uNwmEn0A8vlMxBHvHcVuQmco7Fu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/04/2014 04:08, illoai@gmail.com wrote: > On 6 April 2014 22:14, Yushu Gao wrote: >> Hi, >> I am new to FreeBSD, I have used Gentoo before. I want to remove the X= 11 >> support and all ports options depend on it, I know how to remove X11 >> support, but I cannot find out how to remove all ports options depand = on >> it. Can someone kindly tell me the method ? >> >=20 > You can try adding the old > WITHOUT_X11=3Dyes > to /etc/make.conf, but you will probably be required > (at some point) to make sure you don't have any conflicting > options* set (via "make config" in the port directory) when > things go poorly. >=20 >=20 > *for instance: WITH_QT4=3Dyes > has caused problems in the past, since QT4 requires X11 > The ports system is not perfect. Sorry. Unfortunately, neither is your advice. 'WITHOUT_X11' is obsolete. What you want nowadays is: OPTIONS_UNSET+=3D x11 Note that this can be overridden by OPTIONS settings in individual ports. It sets the default to off, and turns off X11 for ports where you haven't run the options dialogue. See the comments at the top of /usr/ports/Mk/bsd.options.mk for more deta= il. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --QwHGK6uNwmEn0A8vlMxBHvHcVuQmco7Fu 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/ iQJ8BAEBCgBmBQJTQkAuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT74IP/2IUrujUTUa41o1Y7QpgUlpD chxYQ2nVTFWeA6JHZS0GqbuJ0wpVr5la205zOV1lh2yB5t9eSvaJNDWMPhnr1Fg7 p4+DYKmdvAH8+PrU3XAEPKHCWtohg7NN0ozp9xtGjzZK4tOmHtwRfbeWockoDZhr DbTk6zMIdHscEquDz1M4SQAo+O8zrg8hJeao1duDJHx0BBlfmkrqw0FzbGf59VMc yURnPE4kPDbPwANO+AGd0m9uCcby9P+0IMWKGYpznP9yoJnDKNJFpjea4qBqt83O E12D1uua4/DR3EfhhfUCPlCebycEWIlGUs4ggIQJg1sT59LcPLjQnATGUvDOLI7X Kfw0Ark6cJx8Z2XT7F43eb4xqbGMOnjIn6da4QaSyrjhIDIs2ThAZwZ39I8dcOaF aDgTZwH84GhOpON0pNuAF5gZIxfl6AGrgfzLw7AWrwFXS4fH0/kUKDrgN+3F9nu7 9apiGZatXSOffVajczQ7pn4MiT+hZAT8w0y1jSL5FuGf/lqz5OOH5Gi2+JNY5hW0 q2tymmv5anvAc9xrULDHxC58PS8N+OXz2usfI2rqQJufWrm6nIwcEO7A9dJCfZBO X1SQjgKtq7HhJ4w6J6TK+4lCODxWrfYuceV8e10P3664QuMHXeUsVrEB3aIIuyBU roXyFVHE56STziTP9xmO =ZRDM -----END PGP SIGNATURE----- --QwHGK6uNwmEn0A8vlMxBHvHcVuQmco7Fu--