aboutsummaryrefslogtreecommitdiff
path: root/dns/getdns
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2016-02-05 04:12:21 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2016-02-05 04:12:21 +0000
commitf27072dab0333c2b03dc8535cd37504486572906 (patch)
treef76bbaaba20b93a959aa20c01e5fae6dce170027 /dns/getdns
parent22d858f3dbbb0adb3ca98e1ed9af35c4109fc582 (diff)
downloadports-f27072dab0333c2b03dc8535cd37504486572906.tar.gz
ports-f27072dab0333c2b03dc8535cd37504486572906.zip
- Fix build under 9.x
Notes
Notes: svn path=/head/; revision=408129
Diffstat (limited to 'dns/getdns')
-rw-r--r--dns/getdns/Makefile8
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>