diff options
author | danw <danw@pkgsrc.org> | 2004-04-23 01:21:12 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2004-04-23 01:21:12 +0000 |
commit | 66222702cb1a1465af14c1b567c069573418c369 (patch) | |
tree | d1820f659aa551c50bdc8ae3e12fb28f60c7d611 /mk/bsd.pkg.mk | |
parent | 4c76be3f7c5a38f5c98aaff221e2f565607bcaa4 (diff) | |
download | pkgsrc-66222702cb1a1465af14c1b567c069573418c369.tar.gz |
add an ${INSTALL_UNSTRIPPED} variable that can be used to block
${_STRIPFLAG_INSTALL}
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index d5ceec26233..bab699c4ece 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1446 2004/04/22 17:46:05 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1447 2004/04/23 01:21:12 danw Exp $ # # This file is in the public domain. # @@ -572,8 +572,13 @@ PKG_FAIL_REASON+='assignment of WRKSRC= $${WRKDIR}' # A few aliases for *-install targets PKGDIRMODE?= 755 +.if !defined(INSTALL_UNSTRIPPED) || empty(INSTALL_UNSTRIPPED:M[yY][eE][sS]) INSTALL_PROGRAM?= \ ${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} +.else +INSTALL_PROGRAM?= \ + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} +.endif INSTALL_SCRIPT?= \ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} INSTALL_DATA?= \ |