aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-28 04:05:59 +0800
committerbapt <bapt@FreeBSD.org>2014-01-28 04:05:59 +0800
commitaa40c0852fceb6a16f9f072dcd2c79cebd3a8dc9 (patch)
treeeafaaab87866586de370f7f9bd018edc68a47841 /Mk
parent4659b8de586e419f30e93a321d770885fc4b3a15 (diff)
downloadfreebsd-ports-gnome-aa40c0852fceb6a16f9f072dcd2c79cebd3a8dc9.tar.gz
freebsd-ports-gnome-aa40c0852fceb6a16f9f072dcd2c79cebd3a8dc9.tar.zst
freebsd-ports-gnome-aa40c0852fceb6a16f9f072dcd2c79cebd3a8dc9.zip
Fix ports that passes MAKE_ARGS and are not staged yet
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 952782f04143..08d66f6d356e 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3628,7 +3628,7 @@ do-configure:
# XXX: ${MAKE_ARGS:N${DESTDIRNAME}=*} would be easier but it is not valid with the old fmake
.if !target(do-build)
do-build:
- @(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:C,${DESTDIRNAME}=.*,,g} ${ALL_TARGET}; then \
+ @(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} ${ALL_TARGET}; then \
if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \