From b0b29e924dfb01fd54b00967f739e2468c90eb20 Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 24 Mar 2003 00:57:47 +0000 Subject: add workaround for broken curses.h test on Solaris (see http://www.mysql.com/doc/en/Solaris_2.7.html) --- databases/mysql-client/Makefile.common | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'databases') 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 -- cgit v1.2.3