make options target in bsd.port.mk
Matt Douhan
matt at fruitsalad.org
Sun Nov 16 14:11:25 PST 2003
Hi
on the recent discussion on how to find out the variour WITH* options in a
ports Makefile it sounds like a good idea, I think all of us have been tired
of checking inside the actual Makefiles to find out what options are
available.
I have the following in my bsd.port.mk
.if !target(options)
options:
@${ECHO_CMD} | ${GREP} "(WITH" Makefile | ${GREP} -v endif
.endif
it is not pretty, but it works for the ports I use and have installed the
output is not ideal but as a quick help it works great
11:05pm mdouhan @ [dragonfruit] /usr/ports/x11-toolkits/qt32 > make options
.if !defined(WITHOUT_XFT)
.if !defined(WITHOUT_OPENGL)
.if !defined(WITHOUT_CUPS)
.if !defined(WITHOUT_OPENGL)
.if !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
at your own risk.
rgds
Matt
--
Matt Douhan
www.fruitsalad.org
matt at fruitsalad.org
ping elvis
elvis is alive
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031116/1bcce9e5/attachment.bin
More information about the freebsd-current
mailing list