pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nss simplify installation of commandline utiliti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41420775e3f7
branches:  trunk
changeset: 355436:41420775e3f7
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Dec 01 21:57:43 2016 +0000

description:
simplify installation of commandline utilities, fixes SunOS

diffstat:

 devel/nss/Makefile |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r f191d73fdcee -r 41420775e3f7 devel/nss/Makefile
--- a/devel/nss/Makefile        Thu Dec 01 20:54:51 2016 +0000
+++ b/devel/nss/Makefile        Thu Dec 01 21:57:43 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.123 2016/11/29 22:51:12 ryoon Exp $
+# $NetBSD: Makefile,v 1.124 2016/12/01 21:57:43 wiedi Exp $
 
 DISTNAME=              nss-${NSS_RELEASE:S/.0$//}
 NSS_RELEASE=           3.27.2
@@ -103,13 +103,6 @@
                        p7verify pk12util rsaperf shlibsign signtool signver \
                        ssltap strsclnt symkeyutil vfychain vfyserv
 
-CMDS_DIR=              ${OPSYS}${OS_VERSION}_OPT.OBJ
-.for platform in ${LP64PLATFORMS}
-.  if ${MACHINE_PLATFORM:M${platform}}
-CMDS_DIR=              ${OPSYS}${OS_VERSION}_64_OPT.OBJ
-.  endif
-.endfor
-
 post-extract:
        find ${WRKSRC} -type f | xargs ${CHMOD} 644
        find ${WRKSRC} -type d | xargs ${CHMOD} 755
@@ -125,8 +118,7 @@
        ${INSTALL_DATA} ${WRKSRC}/nss.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/nss.pc
        ${INSTALL_SCRIPT} ${WRKSRC}/nss-config ${DESTDIR}${PREFIX}/bin/nss-config
 .for cmd in ${INSTALL_CMDS}
-       ${INSTALL_PROGRAM} ${WRKSRC}/dist/${CMDS_DIR}/bin/${cmd} \
-               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${DIST}/*_OPT.OBJ/bin/${cmd} ${DESTDIR}${PREFIX}/bin
 .endfor
 
 # For consistency of libxul.so link in www/firefox.



Home | Main Index | Thread Index | Old Index