Date: Sun, 16 Nov 2003 23:12:58 +0100 From: Matt Douhan <matt@fruitsalad.org> To: ports@freebsd.org Subject: Fwd: make options target in bsd.port.mk Message-ID: <200311162313.01171.matt@fruitsalad.org>
next in thread | raw e-mail | index | archive | help
--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 <matt@fruitsalad.org>: make options target in bsd.port.mk From: Matt Douhan <matt@fruitsalad.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311162313.01171.matt>