diff options
author | tijl <tijl@FreeBSD.org> | 2015-11-15 23:34:51 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-11-15 23:34:51 +0800 |
commit | a0cf2c204e44e577c7ef36681a37f255c9162a44 (patch) | |
tree | 6447f3550bcde8996dbdd0a1916f4421dacebc95 /Mk/Uses | |
parent | 1a35d9723fe52e36cde5793d610dc8636be06d3f (diff) | |
download | freebsd-ports-gnome-a0cf2c204e44e577c7ef36681a37f255c9162a44.tar.gz freebsd-ports-gnome-a0cf2c204e44e577c7ef36681a37f255c9162a44.tar.zst freebsd-ports-gnome-a0cf2c204e44e577c7ef36681a37f255c9162a44.zip |
Let USES=autoreconf define AUTORECONF and use it throughout the tree.
PR: 204534
Approved by: portmgr (antoine)
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/autoreconf.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/Uses/autoreconf.mk b/Mk/Uses/autoreconf.mk index de92a6788f61..7106203159a6 100644 --- a/Mk/Uses/autoreconf.mk +++ b/Mk/Uses/autoreconf.mk @@ -48,7 +48,7 @@ # Usage: USES=autoreconf or USES=autoreconf:args # Valid args: build Don't run autoreconf, only add build dependencies # -# MAINTAINER: autotools@FreeBSD.org +# MAINTAINER: portmgr@FreeBSD.org .if !defined(_INCLUDE_USES_AUTORECONF_MK) _INCLUDE_USES_AUTORECONF_MK= yes @@ -64,6 +64,8 @@ BUILD_DEPENDS+= autoconf-2.69:${PORTSDIR}/devel/autoconf \ BUILD_DEPENDS+= libtoolize:${PORTSDIR}/devel/libtool .endif +AUTORECONF?= ${LOCALBASE}/bin/autoreconf + .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK) @@ -83,7 +85,7 @@ do-autoreconf: if ${EGREP} -q '^(AC|IT)_PROG_INTLTOOL' $${configure}; \ then ${LOCALBASE}/bin/intltoolize -f -c; fi) .endif - @(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/autoreconf -f -i) + @(cd ${CONFIGURE_WRKSRC} && ${AUTORECONF} -f -i) .endif .endif |