summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-20 23:06:49 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-20 23:06:49 +0000
commit046db2973e1140da8453bad6b6aff9ca5d26cfad (patch)
treebfceaeee5665edf1cd3bdbc330938c550c9fc589 /net
parentfbd8bbf2c242ff31a53e4d973f477fd8e5bf0534 (diff)
downloadpkgsrc-046db2973e1140da8453bad6b6aff9ca5d26cfad.tar.gz
Don't use gethostbyname_r on NetBSD.
Diffstat (limited to 'net')
-rw-r--r--net/openwbem/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/openwbem/Makefile b/net/openwbem/Makefile
index 9e9b90ff9c2..78258d1348e 100644
--- a/net/openwbem/Makefile
+++ b/net/openwbem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2013/05/31 12:41:35 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2013/09/20 23:06:49 joerg Exp $
DISTNAME= openwbem-3.2.2
PKGREVISION= 2
@@ -83,5 +83,11 @@ SUBST_FILES.mkdir+= ${WRKSRC}/src/providers/cpp/instance/OpenWBEM_ConfigSettingD
SUBST_SED.mkdir= -e "s|\$$(INSTALL_PROGRAM) -d|\$${mkdir_p}|g"
SUBST_MESSAGE.mkdir= Fixing ${INSTALL_PROGRAM} -d lines (the -s does not interoperate with -d)
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= ac_cv_func_gethostbyname_r=no
+.endif
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"