diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2017-01-28 17:05:59 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2017-01-28 17:05:59 +0000 |
commit | 5ea60a698be87f821a2e3a8feffec7ab09c6eea9 (patch) | |
tree | bd17002d80b320c8457ae11b7b4291f132706f56 /dns/getdns | |
parent | cf6bdfa4e9b0eeab30274250cec166d40c5147f0 (diff) | |
download | ports-5ea60a698be87f821a2e3a8feffec7ab09c6eea9.tar.gz ports-5ea60a698be87f821a2e3a8feffec7ab09c6eea9.zip |
Notes
Diffstat (limited to 'dns/getdns')
-rw-r--r-- | dns/getdns/Makefile | 7 | ||||
-rw-r--r-- | dns/getdns/pkg-plist | 16 |
2 files changed, 13 insertions, 10 deletions
diff --git a/dns/getdns/Makefile b/dns/getdns/Makefile index e12072de9d54..4c8cd72bef47 100644 --- a/dns/getdns/Makefile +++ b/dns/getdns/Makefile @@ -25,8 +25,10 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libidn=${LOCALBASE} --docdir=${DOCSDIR} \ --with-trust-anchor=${LOCALBASE}/etc/unbound/root.key +SOVERSION= 1.4.1 +SOMAJVER= ${SOVERSION:C/([0-9]).*/\1/1} -PLIST_SUB+= PORTVERSION="${PORTVERSION}" +PLIST_SUB+= SOVERSION="${SOVERSION}" SOMAJVER="${SOMAJVER}" SUB_FILES+= pkg-message OPTIONS_SUB= yes @@ -44,6 +46,7 @@ LIBUV_CONFIGURE_WITH= libuv LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent2 LIBEVENT_CONFIGURE_WITH=libevent DIAGS_VARS= PLIST_FILES+=bin/${PORTNAME}_query +DIAGS_LIB_DEPENDS= libcheck.so:devel/libcheck do-build-DIAGS-on: (cd ${WRKSRC}/src/test && ${MAKE}) @@ -56,7 +59,7 @@ post-patch: -e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns.so.* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns*.so.* post-install-DIAGS-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getdns_query diff --git a/dns/getdns/pkg-plist b/dns/getdns/pkg-plist index 92a48162a6ba..79f5a7fd1581 100644 --- a/dns/getdns/pkg-plist +++ b/dns/getdns/pkg-plist @@ -4,21 +4,21 @@ include/getdns/getdns_extra.h %%LIBEVENT%%include/getdns/getdns_ext_libevent.h %%LIBUV%%include/getdns/getdns_ext_libuv.h lib/libgetdns.so -lib/libgetdns.so.1 -lib/libgetdns.so.1.4.1 +lib/libgetdns.so.%%SOMAJVER%% +lib/libgetdns.so.%%SOVERSION%% lib/libgetdns.a libdata/pkgconfig/getdns.pc libdata/pkgconfig/getdns_ext_event.pc -%%LIBEV%%lib/libgetdns_ext_ev-%%PORTVERSION%%.so -%%LIBEV%%lib/libgetdns_ext_ev-%%PORTVERSION%%.so.0 +%%LIBEV%%lib/libgetdns_ext_ev.so.%%SOMAJVER%% +%%LIBEV%%lib/libgetdns_ext_ev.so.%%SOVERSION%% %%LIBEV%%lib/libgetdns_ext_ev.a %%LIBEV%%lib/libgetdns_ext_ev.so -%%LIBEVENT%%lib/libgetdns_ext_event-%%PORTVERSION%%.so -%%LIBEVENT%%lib/libgetdns_ext_event-%%PORTVERSION%%.so.0 +%%LIBEVENT%%lib/libgetdns_ext_event.so.%%SOMAJVER%% +%%LIBEVENT%%lib/libgetdns_ext_event.so.%%SOVERSION%% %%LIBEVENT%%lib/libgetdns_ext_event.a %%LIBEVENT%%lib/libgetdns_ext_event.so -%%LIBUV%%lib/libgetdns_ext_uv-%%PORTVERSION%%.so -%%LIBUV%%lib/libgetdns_ext_uv-%%PORTVERSION%%.so.0 +%%LIBUV%%lib/libgetdns_ext_uv.so.%%SOMAJVER%% +%%LIBUV%%lib/libgetdns_ext_uv.so.%%SOVERSION%% %%LIBUV%%lib/libgetdns_ext_uv.a %%LIBUV%%lib/libgetdns_ext_uv.so man/man3/getdns_address.3.gz |