diff options
author | skv <skv@FreeBSD.org> | 2004-08-20 02:41:52 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-08-20 02:41:52 +0800 |
commit | 1fdb2cd16515cb3e4bf58a459e2db2451db6943b (patch) | |
tree | e2a5ed578512f4b9d19148f73bed974a1d3d7f79 | |
parent | 7bebb26213086da27ea018fb7b859fe68c4a1d45 (diff) | |
download | freebsd-ports-gnome-1fdb2cd16515cb3e4bf58a459e2db2451db6943b.tar.gz freebsd-ports-gnome-1fdb2cd16515cb3e4bf58a459e2db2451db6943b.tar.zst freebsd-ports-gnome-1fdb2cd16515cb3e4bf58a459e2db2451db6943b.zip |
Add SHLIB_MAJOR to shared library.
-rw-r--r-- | devel/judy/Makefile | 9 | ||||
-rw-r--r-- | devel/judy/pkg-plist | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/devel/judy/Makefile b/devel/judy/Makefile index cbf9f5c9ebc0..673efe7bb47c 100644 --- a/devel/judy/Makefile +++ b/devel/judy/Makefile @@ -7,6 +7,7 @@ PORTNAME= Judy PORTVERSION= 0.1.8 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://judy.sourceforge.net/downloads/ DISTNAME= ${PORTNAME}.${PORTVERSION} @@ -59,6 +60,9 @@ MLINKS= Judy1.3x J1T.3x Judy1.3x J1S.3x Judy1.3x J1U.3x Judy1.3x J1F.3x \ JudySL_funcs.3x JudySLNext.3x JudySL_funcs.3x JudySLLast.3x \ JudySL_funcs.3x JudySLPrev.3x JudySL_funcs.3x JudySLFreeArray.3x +SHLIB_MAJOR= 0 +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + DLVDIR= ${WRKSRC}/src/bsd_ia32/product/deliver/usr LIST_DOCS= COPYRIGHT README *.htm @@ -70,7 +74,10 @@ post-patch: do-install: ${INSTALL_DATA} ${DLVDIR}/include/Judy.h ${PREFIX}/include - ${INSTALL_DATA} ${DLVDIR}/lib/libJudy.* ${PREFIX}/lib + ${INSTALL_DATA} ${DLVDIR}/lib/libJudy.a ${PREFIX}/lib + ${INSTALL_DATA} ${DLVDIR}/lib/libJudy.so \ + ${PREFIX}/lib/libJudy.so.${SHLIB_MAJOR} + ${LN} -sf libJudy.so.${SHLIB_MAJOR} ${PREFIX}/lib/libJudy.so ${INSTALL_MAN} ${DLVDIR}/share/man/man3/*.3x ${MANPREFIX}/man/man3 .ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" diff --git a/devel/judy/pkg-plist b/devel/judy/pkg-plist index 9058ad67760a..99e960341eb4 100644 --- a/devel/judy/pkg-plist +++ b/devel/judy/pkg-plist @@ -1,6 +1,7 @@ include/Judy.h lib/libJudy.a lib/libJudy.so +lib/libJudy.so.%%SHLIB_MAJOR%% %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/Judy1_3x.htm %%PORTDOCS%%%%DOCSDIR%%/Judy1_funcs_3x.htm |