git: 9fb2c8ee7048 - main - Mk/Uses: autoreconf.mk: Add AUTORECONF_ARGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Sep 2023 11:28:06 UTC
The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=9fb2c8ee70488e1fe46a5844f35485cda955db22 commit 9fb2c8ee70488e1fe46a5844f35485cda955db22 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2023-09-13 08:47:08 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2023-09-16 11:27:31 +0000 Mk/Uses: autoreconf.mk: Add AUTORECONF_ARGS Add AUTORECONF_ARGS variable for situations where the default of "-f -i" is not sufficient. Reviewed by: bapt Approved by: bapt Differential Revision: https://reviews.freebsd.org/D38498 --- Mk/Uses/autoreconf.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/autoreconf.mk b/Mk/Uses/autoreconf.mk index 20cdbd588fa1..7d639d7e89af 100644 --- a/Mk/Uses/autoreconf.mk +++ b/Mk/Uses/autoreconf.mk @@ -65,6 +65,11 @@ # 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_ARGS The string to pass to autoreconf in addition to +# the default "-f -i" +# # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_AUTORECONF_MK) @@ -122,7 +127,7 @@ do-autoreconf: ${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} -f -i ${AUTORECONF_ARGS}; then \ ${ECHO_MSG} '===> Mk/Uses/autoreconf.mk: Error running ${AUTORECONF}'; \ ${FALSE}; fi) . endif