diff options
author | zi <zi@FreeBSD.org> | 2016-02-05 12:12:21 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2016-02-05 12:12:21 +0800 |
commit | ab9570ba7d09f6f27adab8e7e106b37e20f85f9c (patch) | |
tree | f76bbaaba20b93a959aa20c01e5fae6dce170027 /dns | |
parent | 542cac0ee7a0ad9e446696413181b1a24487384b (diff) | |
download | freebsd-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/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> |