pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk add an ${INSTALL_UNSTRIPPED} variable that can be u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d055897f42ec
branches:  trunk
changeset: 473684:d055897f42ec
user:      danw <danw%pkgsrc.org@localhost>
date:      Fri Apr 23 01:21:12 2004 +0000

description:
add an ${INSTALL_UNSTRIPPED} variable that can be used to block
${_STRIPFLAG_INSTALL}

diffstat:

 mk/bsd.pkg.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r fb9c8ee6b459 -r d055897f42ec mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Apr 23 01:17:25 2004 +0000
+++ b/mk/bsd.pkg.mk     Fri Apr 23 01:21:12 2004 +0000
@@ -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 @@
 
 # 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?= \



Home | Main Index | Thread Index | Old Index