From owner-freebsd-ports@FreeBSD.ORG Sun Nov 16 14:13:35 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0FE116A4CF for ; Sun, 16 Nov 2003 14:13:34 -0800 (PST) Received: from mandarin.fruitsalad.org (pc117.net160.koping.net [81.16.160.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 462F843FDF for ; Sun, 16 Nov 2003 14:13:29 -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 1ALV96-0003uM-Fw for ports@freebsd.org; Sun, 16 Nov 2003 23:13:28 +0100 From: Matt Douhan Organization: fruitsalad.org To: ports@freebsd.org Date: Sun, 16 Nov 2003 23:12:58 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_tZ/t//FDYc6gbUv"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200311162313.01171.matt@fruitsalad.org> Subject: Fwd: make options target in bsd.port.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 22:13:35 -0000 --Boundary-03=_tZ/t//FDYc6gbUv Content-Type: multipart/mixed; boundary="Boundary-01=_sZ/t/Nda0gjHuPk" Content-Transfer-Encoding: 7bit Content-Description: signed data Content-Disposition: inline --Boundary-01=_sZ/t/Nda0gjHuPk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: body text Content-Disposition: inline Sorry posted this to the wrong list rgds Matt =2D-=20 Matt Douhan www.fruitsalad.org matt@fruitsalad.org ping elvis elvis is alive --Boundary-01=_sZ/t/Nda0gjHuPk Content-Type: message/rfc822; name="forwarded message" Content-Transfer-Encoding: 7bit Content-Description: Matt Douhan : make options target in bsd.port.mk From: Matt Douhan Organization: fruitsalad.org To: current@freebsd.org Subject: make options target in bsd.port.mk 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> Status: RO X-Status: S X-KMail-EncryptionState: X-KMail-SignatureState: --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-- --Boundary-01=_sZ/t/Nda0gjHuPk-- --Boundary-03=_tZ/t//FDYc6gbUv Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/t/ZtJ58/+TqKmQsRAg+MAKDVrpHJcEC17zDjk4w2ZthYqX5+iQCeJF9+ BC8su1f3Qv3JVT0gOeAyGCY= =GdMR -----END PGP SIGNATURE----- --Boundary-03=_tZ/t//FDYc6gbUv--