diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-04 06:42:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-04 06:42:43 +0000 |
commit | 91092c57895d2b87d14d5f6701952bdd03c18a73 (patch) | |
tree | 0b31b2cb2cd7492b23669d4af7bd207540f46e01 /mk/tools/tools.Darwin.mk | |
parent | 87e59af8e320baf35cd61153458873d4e8148f0b (diff) | |
download | pkgsrc-91092c57895d2b87d14d5f6701952bdd03c18a73.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.mk | 4 |
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 |