summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-12-01 21:57:43 +0000
committerwiedi <wiedi@pkgsrc.org>2016-12-01 21:57:43 +0000
commitf57606ad08e4e71bb5ba19d3942beec309e3bdc3 (patch)
tree415116454c6f0c8aef3e7689f5c54dfd2382489b /devel
parentd57ecfaa3e725990b5b09db2c1ed518a8d2fe251 (diff)
downloadpkgsrc-f57606ad08e4e71bb5ba19d3942beec309e3bdc3.tar.gz
simplify installation of commandline utilities, fixes SunOS
Diffstat (limited to 'devel')
-rw-r--r--devel/nss/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
index 9bb4bd1a2df..6addd31c4fe 100644
--- a/devel/nss/Makefile
+++ b/devel/nss/Makefile
@@ -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 @@ INSTALL_CMDS+= certcgi certutil cmsutil crlutil derdump makepqg \
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 @@ do-install:
${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.