aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2016-02-05 12:12:21 +0800
committerzi <zi@FreeBSD.org>2016-02-05 12:12:21 +0800
commitab9570ba7d09f6f27adab8e7e106b37e20f85f9c (patch)
treef76bbaaba20b93a959aa20c01e5fae6dce170027 /dns
parent542cac0ee7a0ad9e446696413181b1a24487384b (diff)
downloadfreebsd-ports-gnome-ab9570ba7d09f6f27adab8e7e106b37e20f85f9c.tar.gz
freebsd-ports-gnome-ab9570ba7d09f6f27adab8e7e106b37e20f85f9c.tar.zst
freebsd-ports-gnome-ab9570ba7d09f6f27adab8e7e106b37e20f85f9c.zip
- Fix build under 9.x
Diffstat (limited to 'dns')
-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>