summaryrefslogtreecommitdiff
path: root/databases/mysql-cluster
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-02-02 10:44:59 +0000
committerjperkin <jperkin>2015-02-02 10:44:59 +0000
commitc73e63ec23e0f8a43b04b0a778e97e0db67994f9 (patch)
treecab4573182f65aeb645b07512adfc2e7af8f5e72 /databases/mysql-cluster
parent1a1b0c114815106e664ff39c9c681415c021ba04 (diff)
downloadpkgsrc-c73e63ec23e0f8a43b04b0a778e97e0db67994f9.tar.gz
Explicitly disable Linux-specific epoll support on SunOS.
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