aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-04-08 22:59:25 +0800
committerbapt <bapt@FreeBSD.org>2015-04-08 22:59:25 +0800
commit1ed12c409b16770d2cb109c7a67bf65ef1a3f27b (patch)
treec8ba86bdbfacb4e4d1963c10c51d9c0191587db5 /Mk
parentb9311263749940086182836af353de469bdbef19 (diff)
downloadfreebsd-ports-gnome-1ed12c409b16770d2cb109c7a67bf65ef1a3f27b.tar.gz
freebsd-ports-gnome-1ed12c409b16770d2cb109c7a67bf65ef1a3f27b.tar.zst
freebsd-ports-gnome-1ed12c409b16770d2cb109c7a67bf65ef1a3f27b.zip
Introduce CONFIGURE_CMD which default on ./${CONFIGURE_SCRIPT} so that we can
have a variable to overwrite in order to be able to reuse the configure framework with other mechanism then regulars ./configure
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 0d7afaab9087..46fbb1f2afe6 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2658,6 +2658,7 @@ LATEST_LINK?= ${PKGBASE}
PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${LATEST_LINK}${PKG_SUFX}
CONFIGURE_SCRIPT?= configure
+CONFIGURE_CMD?= ./${CONFIGURE_SCRIPT}
CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL}
CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//}
CONFIGURE_LOG?= config.log
@@ -3395,7 +3396,7 @@ do-configure:
INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \
+ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; then \
${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \
(${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
${FALSE}; \