diff options
author | grant <grant@pkgsrc.org> | 2003-03-24 00:57:47 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-03-24 00:57:47 +0000 |
commit | b0b29e924dfb01fd54b00967f739e2468c90eb20 (patch) | |
tree | f04a652c2da1d88fb3489459edec60d6ce8bfd5f /databases | |
parent | 39e6e5a8f547ecdae550c2298b1886620a2d4791 (diff) | |
download | pkgsrc-b0b29e924dfb01fd54b00967f739e2468c90eb20.tar.gz |
add workaround for broken curses.h test on Solaris (see
http://www.mysql.com/doc/en/Solaris_2.7.html)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql-client/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common index 77e23bdd9e3..37b88b2cfc7 100644 --- a/databases/mysql-client/Makefile.common +++ b/databases/mysql-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2003/03/14 19:37:34 jlam Exp $ +# $NetBSD: Makefile.common,v 1.14 2003/03/24 00:57:47 grant Exp $ DISTNAME= mysql-3.23.49 CATEGORIES= databases @@ -40,6 +40,13 @@ CONFIGURE_ARGS+= --with-low-memory CPPFLAGS+= -Dunix +# force HAVE_CURSES_H on Solaris since the configure script is broken +# and does not properly detect this, breaking the build later on. +.if ${OPSYS} == "SunOS" +CFLAGS+= -DHAVE_CURSES_H +CXXFLAGS+= -DHAVE_CURSES_H +.endif + USE_PERL5= # defined USE_LIBTOOL= # defined LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig |