aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-28 11:23:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-28 11:23:38 +0000
commitba9eb09b58e56c9909c288b5b5cd7d7ba0b8e938 (patch)
tree603faea375417eb7608ea0f7c9938af3fd7776dc /Mk/bsd.port.mk
parentdb0990d2f951a3f0794ea5de65b44b3a7ba30b5e (diff)
downloadports-ba9eb09b58e56c9909c288b5b5cd7d7ba0b8e938.tar.gz
ports-ba9eb09b58e56c9909c288b5b5cd7d7ba0b8e938.zip
Automatically convert install-strip target into install target if the debug version is being built
Notes
Notes: svn path=/head/; revision=349408
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 0dff6d398f83..459cf442a676 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1597,6 +1597,7 @@ MAKE_ENV+= DONTSTRIP=yes
STRIP_CMD= ${TRUE}
DEBUG_FLAGS?= -g
CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS}
+INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g}
.endif
.if defined(WITH_SSP) || defined(WITH_SSP_PORTS)