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

Attachment: pgpTKRgymHIC3.pgp
Description: PGP signature

Reply via email to