diff options
author | bapt <bapt@FreeBSD.org> | 2015-04-08 22:59:25 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-04-08 22:59:25 +0800 |
commit | 1ed12c409b16770d2cb109c7a67bf65ef1a3f27b (patch) | |
tree | c8ba86bdbfacb4e4d1963c10c51d9c0191587db5 /Mk | |
parent | b9311263749940086182836af353de469bdbef19 (diff) | |
download | freebsd-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.mk | 3 |
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}; \ |