pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/GeoIP GeoIP: force-fail gethostbyname_r configure ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a49165cd9445
branches:  trunk
changeset: 450523:a49165cd9445
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Apr 19 07:22:30 2021 +0000

description:
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

diffstat:

 net/GeoIP/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b12e1d63d321 -r a49165cd9445 net/GeoIP/Makefile
--- a/net/GeoIP/Makefile        Mon Apr 19 02:14:44 2021 +0000
+++ b/net/GeoIP/Makefile        Mon Apr 19 07:22:30 2021 +0000
@@ -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 @@
 
 TEST_TARGET=   check
 
+CONFIGURE_ARGS.NetBSD+=        ac_cv_func_gethostbyname_r=no
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index