diff options
-rw-r--r-- | databases/mysql51-client/Makefile | 4 | ||||
-rw-r--r-- | databases/mysql51-client/Makefile.common | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/databases/mysql51-client/Makefile b/databases/mysql51-client/Makefile index e223e9e2f9c..3168e385b9b 100644 --- a/databases/mysql51-client/Makefile +++ b/databases/mysql51-client/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2014/02/12 23:17:39 tron Exp $ +# $NetBSD: Makefile,v 1.17 2014/05/28 10:16:54 markd Exp $ PKGNAME= ${DISTNAME:S/-/-client-/} -PKGREVISION= 1 +PKGREVISION= 2 SVR4_PKGNAME= mysqc COMMENT= MySQL 5, a free SQL database (client) diff --git a/databases/mysql51-client/Makefile.common b/databases/mysql51-client/Makefile.common index 76a8f15616d..d110a0c6d84 100644 --- a/databases/mysql51-client/Makefile.common +++ b/databases/mysql51-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.31 2014/04/14 00:02:49 rodent Exp $ +# $NetBSD: Makefile.common,v 1.32 2014/05/28 10:16:54 markd Exp $ # # used by databases/mysql51-client/Makefile # used by databases/mysql51-server/Makefile @@ -78,6 +78,10 @@ GNU_ARCH.i386= i486 CFLAGS+= -march=i486 .endif +.if ${OPSYS} == "NetBSD" +CONFIGURE_ENV+= ac_cv_func_gethostbyname_r="no" +.endif + CONFIGURE_ENV+= mysql_cv_compress="yes" CPPFLAGS+= -Dunix |