From a0cf2c204e44e577c7ef36681a37f255c9162a44 Mon Sep 17 00:00:00 2001 From: tijl Date: Sun, 15 Nov 2015 15:34:51 +0000 Subject: Let USES=autoreconf define AUTORECONF and use it throughout the tree. PR: 204534 Approved by: portmgr (antoine) --- Mk/Uses/autoreconf.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Mk/Uses') 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 -- cgit