From 046db2973e1140da8453bad6b6aff9ca5d26cfad Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Sep 2013 23:06:49 +0000 Subject: Don't use gethostbyname_r on NetBSD. --- net/openwbem/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net') 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" -- cgit v1.2.3