[HEADSUP] new USES in ports
Baptiste Daroussin
bapt at FreeBSD.org
Wed Mar 6 14:29:16 UTC 2013
Hi,
The ports now support a new Macro (porters only): USES
You may use it that way:
USES= pathfix feature1 feature2:arguments
it will load the following files (just at the begining of bsd.port.post.mk):
Mk/Uses/pathfix.mk
Mk/Uses/feature1.mk
Mk/Uses/feature2.mk
aka load features on demand.
a feature2_ARGS variable will be created and it will contain "arguments"
The first feature available is: pathfix
pathfix is a copy of the bsd.gnome.mk "gnomehack" so that porters do not need to
include the full bsd.gnome.mk each time they need it.
Lots more to come
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130306/24fe7620/attachment.sig>
More information about the freebsd-ports
mailing list