summaryrefslogtreecommitdiff
path: root/security/nss
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-03 13:26:10 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-03 13:26:10 +0000
commit4d0e98d8b65ac39e491e56178b956a574a164cff (patch)
tree5a8f673eed4112122c3a4f9a02bc485328cedf0d /security/nss
parentAdd FreeBSD locales. This solves the problem with Mozilla not starting up (diff)
Fix the build in the situations when minor number of ${OSREL} defined in the
bsd.port.mk is different from one detected by port's build system. This should fix the build on bento, where ${OSREL} is 4.5, while the build system detects it as 4.4. Note: this is a workarround - we should investigate and fix the real source of the problem when we have more time. Submitted by: bento
Notes
Notes: svn path=/head/; revision=52527
Diffstat (limited to 'security/nss')
-rw-r--r--security/nss/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index 41db58660fc6..0d8778869700 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -30,11 +30,11 @@ do-install:
${MKDIR} ${PREFIX}/include/nss
${TAR} -C ${DIST}/public --dereference -cf - . | \
${TAR} -C ${PREFIX}/include/nss -xf -
- ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL}_OPT.OBJ/lib/*.so.1 \
+ ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/*.so.1 \
${PREFIX}/lib
- ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL}_OPT.OBJ/bin/* \
+ ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/bin/* \
${PREFIX}/bin
- cd ${DIST}/FreeBSD${OSREL}_OPT.OBJ/lib && \
+ cd ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib && \
${TAR} -cf - *.so | ${TAR} --unlink -C ${PREFIX}/lib -xf -
.include <bsd.port.mk>