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