summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-07-05 08:49:44 +0000
committergrant <grant@pkgsrc.org>2005-07-05 08:49:44 +0000
commit363bfa2dbe76cef3a8b3df1b6584c8037241feff (patch)
tree4bbf34385f3c4cf6c92edc5a95dd9834708a267c /databases
parented169805e580ec6343968c7bb0b085234728cf90 (diff)
downloadpkgsrc-363bfa2dbe76cef3a8b3df1b6584c8037241feff.tar.gz
use {CFLAGS,CXXFLAGS}.SunOS instead of conditional.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-client/Makefile.common8
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common
index 9d1f1d9099c..d901aae04ff 100644
--- a/databases/mysql-client/Makefile.common
+++ b/databases/mysql-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2005/07/05 08:48:41 grant Exp $
+# $NetBSD: Makefile.common,v 1.45 2005/07/05 08:49:44 grant Exp $
DISTNAME= mysql-4.0.24
CATEGORIES= databases
@@ -66,10 +66,8 @@ CFLAGS+= -DUSE_OLD_FUNCTIONS # 3.23.x compat
# 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
+CFLAGS.SunOS+= -DHAVE_CURSES_H
+CXXFLAGS.SunOS+= -DHAVE_CURSES_H
.include "../../mk/pthread.buildlink3.mk"