summaryrefslogtreecommitdiff
path: root/mk/tools/tools.Darwin.mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-04 06:42:43 +0000
committerjlam <jlam>2005-05-04 06:42:43 +0000
commitf9cb238a8e4fb247195005b4b9580e805669b5c6 (patch)
tree0b31b2cb2cd7492b23669d4af7bd207540f46e01 /mk/tools/tools.Darwin.mk
parent207e98d871aae6c812c7eaa43430f5059570f1c9 (diff)
downloadpkgsrc-f9cb238a8e4fb247195005b4b9580e805669b5c6.tar.gz
Teach the new tools framework about ${STRIP}, which is used in some
packages to strip installed executables. If INSTALL_UNSTRIPPED == "yes", then we create a "strip" wrapper in ${TOOLS_DIR} that just calls ${TRUE} by considering ${TRUE} the system-supplied strip command.
Diffstat (limited to 'mk/tools/tools.Darwin.mk')
-rw-r--r--mk/tools/tools.Darwin.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk
index 6ffa2c356f9..ebca2ccc5e3 100644
--- a/mk/tools/tools.Darwin.mk
+++ b/mk/tools/tools.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.7 2005/05/03 21:06:14 jlam Exp $
+# $NetBSD: tools.Darwin.mk,v 1.8 2005/05/04 06:42:43 jlam Exp $
#
# System-supplied tools for the Darwin (Mac OS X) operating system.
@@ -49,6 +49,8 @@ TOOLS_PLATFORM.rmdir?= /bin/rmdir
TOOLS_PLATFORM.sed?= /usr/bin/sed
TOOLS_PLATFORM.sh?= /bin/sh
TOOLS_PLATFORM.sort?= /usr/bin/sort
+TOOLS_PLATFORM.strip?= \
+ ${_INSTALL_UNSTRIPPED:D${TOOLS_PLATFORM.true}:U/usr/bin/strip}
TOOLS_PLATFORM.tail?= /usr/bin/tail
TOOLS_PLATFORM.tee?= /usr/bin/tee
TOOLS_PLATFORM.test?= test # shell builtin