summaryrefslogtreecommitdiff
path: root/databases/mysql-cluster
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-cluster')
-rw-r--r--databases/mysql-cluster/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/mysql-cluster/Makefile.common b/databases/mysql-cluster/Makefile.common
index e2d4d7f2f76..da270a4c0b6 100644
--- a/databases/mysql-cluster/Makefile.common
+++ b/databases/mysql-cluster/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1.1.1 2014/12/01 05:57:48 jnemeth Exp $
+# $NetBSD: Makefile.common,v 1.2 2015/02/02 10:44:59 jperkin Exp $
#
# used by databases/mysql-cluster/Makefile
@@ -85,8 +85,10 @@ CXXFLAGS+= -fPIC -DPIC
.endif
# force HAVE_CURSES_H on Solaris since the configure script is broken
-# and does not properly detect this, breaking the build later on.
+# 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
CFLAGS+= -DHAVE_CURSES_H
CXXFLAGS+= -DHAVE_CURSES_H
.endif