diff options
Diffstat (limited to 'dns/getdns/Makefile')
-rw-r--r-- | dns/getdns/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/getdns/Makefile b/dns/getdns/Makefile index 52e25168d2eb..b3d63f9cca88 100644 --- a/dns/getdns/Makefile +++ b/dns/getdns/Makefile @@ -46,6 +46,12 @@ LIBEVENT_CONFIGURE_WITH=libevent .include <bsd.port.options.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} <= 1000000 +CONFIGURE_ARGS+= --disable-gost +.endif + post-patch: ${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in @@ -58,4 +64,4 @@ post-install: .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns.so.* -.include <bsd.port.mk> +.include <bsd.port.post.mk> |