From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 14:11:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FFFA16A4CE for ; Sun, 16 Nov 2003 14:11:25 -0800 (PST) Received: from mandarin.fruitsalad.org (pc117.net160.koping.net [81.16.160.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1491043FDF for ; Sun, 16 Nov 2003 14:11:24 -0800 (PST) (envelope-from matt@fruitsalad.org) Received: from [192.168.15.54] (helo=192.168.15.54) by mandarin.fruitsalad.org with esmtp (Exim 4.14) id 1ALV74-0003tT-Lr for current@freebsd.org; Sun, 16 Nov 2003 23:11:22 +0100 From: Matt Douhan Organization: fruitsalad.org To: current@freebsd.org Date: Sun, 16 Nov 2003 23:10:40 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_vX/t/4GnNa5R/Ys"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200311162310.55012.matt@fruitsalad.org> Subject: make options target in bsd.port.mk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 22:11:25 -0000 --Boundary-02=_vX/t/4GnNa5R/Ys Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline Hi on the recent discussion on how to find out the variour WITH* options in a= =20 ports Makefile it sounds like a good idea, I think all of us have been tire= d=20 of checking inside the actual Makefiles to find out what options are=20 available. I have the following in my bsd.port.mk =2Eif !target(options) options: @${ECHO_CMD} | ${GREP} "(WITH" Makefile | ${GREP} -v endif =2Eendif it is not pretty, but it works for the ports I use and have installed the=20 output is not ideal but as a quick help it works great 11:05pm mdouhan @ [dragonfruit] /usr/ports/x11-toolkits/qt32 > make options =2Eif !defined(WITHOUT_XFT) =2Eif !defined(WITHOUT_OPENGL) =2Eif !defined(WITHOUT_CUPS) =2Eif !defined(WITHOUT_OPENGL) =2Eif !defined(WITHOUT_XFT) 11:05pm mdouhan @ [dragonfruit] /usr/ports/x11-toolkits/qt32 > just my 2 cents worth, and sure it possibly breaks in a zillion ways so use= it=20 at your own risk. rgds Matt =2D-=20 Matt Douhan www.fruitsalad.org matt@fruitsalad.org ping elvis elvis is alive --Boundary-02=_vX/t/4GnNa5R/Ys Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/t/XuJ58/+TqKmQsRAv7XAKChO/NzZtbH0SulrfP27RAvEhajlQCbBkHy UMZwDSJGX0fv8w5kPmDAPBY= =+yA9 -----END PGP SIGNATURE----- --Boundary-02=_vX/t/4GnNa5R/Ys--