Remove all static libraries except libcrmf.a, since some of them conflict

with libraries in /usr/lib. Mark the port SHARED_ONLY.

From maintainer, after some discussions with kurt@ and me.

ok kurt@
This commit is contained in:
kili 2006-12-08 19:21:30 +00:00
parent 4a0456a9fd
commit 8e3abdaab2
2 changed files with 6 additions and 26 deletions

View File

@ -1,9 +1,12 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/12/04 17:19:54 kurt Exp $
# $OpenBSD: Makefile,v 1.2 2006/12/08 19:21:30 kili Exp $
SHARED_ONLY= Yes
COMMENT= "libraries to support development of security-enabled apps"
VERSION= 3.11.4
DISTNAME= nss-${VERSION}
PKGNAME= ${DISTNAME}p0
SO_VERSION= 18.0
.for _lib in freebl3 nss3 nssckbi smime3 softokn3 ssl3
SHARED_LIBS+= ${_lib} ${SO_VERSION}
@ -49,15 +52,12 @@ do-install:
@cd ${NSSOBJ}/lib && ${TAR} -chf - *.so.${SO_VERSION} | \
${TAR} -xf - -C ${PREFIX}/lib
@chmod 444 ${PREFIX}/lib/*.so.${SO_VERSION}
${INSTALL_DATA} ${NSSOBJ}/lib/*.{chk,a} ${PREFIX}/lib/
${INSTALL_DATA} ${NSSOBJ}/lib/{libcrmf.a,*.chk} ${PREFIX}/lib/
${INSTALL_PROGRAM} ${NSSOBJ}/bin/* ${PREFIX}/bin/
${INSTALL_SCRIPT} ${FILESDIR}/nss-config ${PREFIX}/bin/
${INSTALL_DATA} ${FILESDIR}/nss.pc ${PREFIX}/lib/pkgconfig/
@perl -pi -e 's|!!PREFIX!!|${TRUEPREFIX}|g; s|!!VERSION!!|${VERSION}|g' \
${PREFIX}/bin/nss-config ${PREFIX}/lib/pkgconfig/nss.pc
# unknown manpage type
# ${INSTALL_MAN} ${WRKSRC}/cmd/symkeyutil/symkey.man \
# ${PREFIX}/man/man1/symkeyutil.1
do-regress:
cd ${WRKSRC}/tests && ${SETENV} PATH="${NSSOBJ}/bin:${PATH}" \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/04 17:19:54 kurt Exp $
@comment $OpenBSD: PLIST,v 1.2 2006/12/08 19:21:30 kili Exp $
%%SHARED%%
bin/addbuiltin
@comment bin/atob
@ -131,28 +131,8 @@ include/nss/sslerr.h
include/nss/sslproto.h
include/nss/sslt.h
include/nss/watcomfx.h
lib/libasn1.a
lib/libcertdb.a
lib/libcerthi.a
lib/libcrmf.a
lib/libcryptohi.a
lib/libdbm.a
lib/libfreebl.a
lib/libfreebl3.chk
lib/libjar.a
lib/libnss.a
lib/libnssb.a
lib/libnssckfw.a
lib/libnssdev.a
lib/libnsspki.a
lib/libpk11wrap.a
lib/libpkcs12.a
lib/libpkcs7.a
lib/libsectool.a
lib/libsecutil.a
lib/libsmime.a
lib/libsoftokn.a
lib/libsoftokn3.chk
lib/libssl.a
lib/pkgconfig/
lib/pkgconfig/nss.pc