summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2005-07-05 08:49:44 +0000
committergrant <grant>2005-07-05 08:49:44 +0000
commitadfb8d397ff80dca61e45d11f1ce18f3ed458852 (patch)
tree4bbf34385f3c4cf6c92edc5a95dd9834708a267c
parent9dcd500f5e3e00fe8af12b5d9d6faae194686b2c (diff)
downloadpkgsrc-adfb8d397ff80dca61e45d11f1ce18f3ed458852.tar.gz
use {CFLAGS,CXXFLAGS}.SunOS instead of conditional.
-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"