summaryrefslogtreecommitdiff
path: root/databases/mysql-client
diff options
context:
space:
mode:
authorgrant <grant>2003-03-24 00:57:47 +0000
committergrant <grant>2003-03-24 00:57:47 +0000
commitc0dedeb2ef75af8ac4bebafb0c6218556cfcbe24 (patch)
treef04a652c2da1d88fb3489459edec60d6ce8bfd5f /databases/mysql-client
parent50d205eb251bc8d10495731e5b57e56212c03040 (diff)
downloadpkgsrc-c0dedeb2ef75af8ac4bebafb0c6218556cfcbe24.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/mysql-client')
-rw-r--r--databases/mysql-client/Makefile.common9
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