Index: Mk/Uses/autoreconf.mk =================================================================== --- Mk/Uses/autoreconf.mk +++ Mk/Uses/autoreconf.mk @@ -65,6 +65,10 @@ # Valid args: build Don't run autoreconf, only add build dependencies # 2.69 Use this legacy version # +# Port maintainers can set the following variable: +# +# AUTORECONF_FLAGS The string to pass to autoreconf. Default: -f -i +# # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_AUTORECONF_MK) @@ -73,6 +77,7 @@ AUTORECONF?= ${LOCALBASE}/bin/autoreconf${_AUTORECONF} AUTORECONF_WRKSRC?= ${WRKSRC} +AUTORECONF_FLAGS?= -f -i .endif @@ -122,7 +127,7 @@ ${ECHO_MSG} '===> Mk/Uses/autoreconf.mk: Error running intltoolize'; \ ${FALSE}; fi; fi) . endif - @(cd ${AUTORECONF_WRKSRC} && if ! ${AUTORECONF} -f -i; then \ + @(cd ${AUTORECONF_WRKSRC} && if ! ${AUTORECONF} ${AUTORECONF_FLAGS}; then \ ${ECHO_MSG} '===> Mk/Uses/autoreconf.mk: Error running ${AUTORECONF}'; \ ${FALSE}; fi) . endif