Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2013 15:29:11 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   [HEADSUP] new USES in ports
Message-ID:  <20130306142911.GH18971@ithaqua.etoilebsd.net>

next in thread | raw e-mail | index | archive | help

--LZFKeWUZP29EKQNE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--LZFKeWUZP29EKQNE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlE3UrcACgkQ8kTtMUmk6EwCkwCeJTCOluAD9lhTYWTuQ7jDw7GK
Gn0Anjek28Lr5QiDwdbUEShWr2m/Buly
=7raQ
-----END PGP SIGNATURE-----

--LZFKeWUZP29EKQNE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130306142911.GH18971>