aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-11-15 23:34:51 +0800
committertijl <tijl@FreeBSD.org>2015-11-15 23:34:51 +0800
commita0cf2c204e44e577c7ef36681a37f255c9162a44 (patch)
tree6447f3550bcde8996dbdd0a1916f4421dacebc95 /Mk/Uses
parent1a35d9723fe52e36cde5793d610dc8636be06d3f (diff)
downloadfreebsd-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.mk6
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