diff options
author | joerg <joerg@pkgsrc.org> | 2013-08-30 22:33:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-08-30 22:33:46 +0000 |
commit | 1c994223d6e9f996a6839d7c936381585d5541eb (patch) | |
tree | efd168bc08ec96f0fe5c580e366471cf460bf275 /databases | |
parent | 88a1b95ffad1e7c11077d9c62c2092152b5ff9c6 (diff) | |
download | pkgsrc-1c994223d6e9f996a6839d7c936381585d5541eb.tar.gz |
Don't try to use gethostbyname_r on NetBSD.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gigabase/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/gigabase/Makefile b/databases/gigabase/Makefile index 2d0b767c19f..fc278eb5f83 100644 --- a/databases/gigabase/Makefile +++ b/databases/gigabase/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/10/02 21:25:17 asau Exp $ +# $NetBSD: Makefile,v 1.4 2013/08/30 22:33:46 joerg Exp $ # DISTNAME= gigabase-3.82 @@ -19,5 +19,11 @@ PTHREAD_AUTO_VARS= yes INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} +.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" |