aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-03-29 15:14:16 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-03-29 15:14:16 +0000
commit0e39c85753cc6c35baa330341eff06b72bdba767 (patch)
tree38133de92e207ba0a0a91979f6310d2103596b0f /Mk
parent28c20c38791f7dfcd583406136bc85f9ab470e19 (diff)
downloadports-0e39c85753cc6c35baa330341eff06b72bdba767.tar.gz
ports-0e39c85753cc6c35baa330341eff06b72bdba767.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 459cf442a676..aacaa8dee280 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1597,8 +1597,10 @@ MAKE_ENV+= DONTSTRIP=yes
STRIP_CMD= ${TRUE}
DEBUG_FLAGS?= -g
CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS}
+.if defined(INSTALL_TARGET)
INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g}
.endif
+.endif
.if defined(WITH_SSP) || defined(WITH_SSP_PORTS)
.include "${PORTSDIR}/Mk/bsd.ssp.mk"