summaryrefslogtreecommitdiff
path: root/databases/mysql-cluster
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 11:46:20 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 11:46:20 +0000
commit7fdd43d846dce67b6998fa5441196ffaa1b56e5b (patch)
treed51b7272eb47521b39eac24eacb5a7b3789664da /databases/mysql-cluster
parent9b78a729bae8f2a5d171c6120bf393de545ee716 (diff)
downloadpkgsrc-7fdd43d846dce67b6998fa5441196ffaa1b56e5b.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'databases/mysql-cluster')
-rw-r--r--databases/mysql-cluster/Makefile.common14
1 files changed, 5 insertions, 9 deletions
diff --git a/databases/mysql-cluster/Makefile.common b/databases/mysql-cluster/Makefile.common
index e77dad516c1..23c5a8de259 100644
--- a/databases/mysql-cluster/Makefile.common
+++ b/databases/mysql-cluster/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2015/09/07 04:33:06 jnemeth Exp $
+# $NetBSD: Makefile.common,v 1.9 2016/02/25 11:46:21 jperkin Exp $
#
# used by databases/mysql-cluster/Makefile
@@ -37,9 +37,7 @@ PKG_GROUPS_VARS+= MYSQL_GROUP
CONFIG_SHELL= ${TOOLS_PATH.bash}
-.if ${OPSYS} == "IRIX"
-CFLAGS+= -DIRIX5 -DNEEDS_BSTRING_H
-.endif
+CFLAGS.IRIX+= -DIRIX5 -DNEEDS_BSTRING_H
BUILD_DEFS+= VARBASE
@@ -88,11 +86,9 @@ CXXFLAGS+= -fPIC -DPIC
# force HAVE_CURSES_H on Solaris since the configure script is broken
# and does not properly detect this, breaking the build later on. Also
# explicitly disable epoll support as it is Linux-specific.
-.if ${OPSYS} == "SunOS"
-CMAKE_ARGS+= -DHAVE_SYS_EPOLL_H=NO -DHAVE_EPOLL_CREATE=NO
-CFLAGS+= -DHAVE_CURSES_H
-CXXFLAGS+= -DHAVE_CURSES_H
-.endif
+CMAKE_ARGS.SunOS+= -DHAVE_SYS_EPOLL_H=NO -DHAVE_EPOLL_CREATE=NO
+CFLAGS.SunOS+= -DHAVE_CURSES_H
+CXXFLAGS.SunOS+= -DHAVE_CURSES_H
.include "../../mk/pthread.buildlink3.mk"