diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-01-03 13:26:10 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-01-03 13:26:10 +0000 |
commit | 14df5739905f0a4d03925d4f4b6f44c566515ae7 (patch) | |
tree | 3d278ad7e805738ebc54467004528c9cf3cad485 /security/nss | |
parent | a68237809dd50c20f329dba85042741042a7d1ce (diff) | |
download | FreeBSD-ports-14df5739905f0a4d03925d4f4b6f44c566515ae7.zip FreeBSD-ports-14df5739905f0a4d03925d4f4b6f44c566515ae7.tar.gz |
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
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index 41db586..0d87788 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> |