summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2021-04-19 07:22:30 +0000
committermaya <maya@pkgsrc.org>2021-04-19 07:22:30 +0000
commitf8b280cfc0eb071025d87ce49ab83af2a70f9e0e (patch)
treece5617d5bf928ffb5c569106233095caa7964f1e
parentee96d142770461c96d497c9acc82155b939e8a34 (diff)
downloadpkgsrc-f8b280cfc0eb071025d87ce49ab83af2a70f9e0e.tar.gz
GeoIP: force-fail gethostbyname_r configure check.
NetBSD has this not-like-linux libc symbol and tries to hide it, but not well enough that autoconf fails to find it. Bump PKGREVISION for binary change. From Stefan Schaeckeler in PR pkg/56116
-rw-r--r--net/GeoIP/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index f6e24c873b9..b38e71bcf3b 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2020/01/08 11:59:43 nia Exp $
+# $NetBSD: Makefile,v 1.33 2021/04/19 07:22:30 maya Exp $
DISTNAME= GeoIP-1.6.12
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=maxmind/}
GITHUB_PROJECT= geoip-api-c
@@ -16,5 +17,7 @@ GNU_CONFIGURE= yes
TEST_TARGET= check
+CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyname_r=no
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"