summaryrefslogtreecommitdiff
path: root/databases/mysql56-client
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-24 10:02:14 +0000
committerjperkin <jperkin>2014-09-24 10:02:14 +0000
commit177781c0113228ece0590301eea493d7aa2cf65d (patch)
treed4b16ca0596b9eb7067f00ae8fd4d9f6422f3150 /databases/mysql56-client
parent42ad923a9f8294f8e5cd42bf9558aeaaad8d51c7 (diff)
downloadpkgsrc-177781c0113228ece0590301eea493d7aa2cf65d.tar.gz
Explicitly disable epoll on SunOS, the MySQL implementation is specific
to Linux at this time.
Diffstat (limited to 'databases/mysql56-client')
-rw-r--r--databases/mysql56-client/Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/mysql56-client/Makefile.common b/databases/mysql56-client/Makefile.common
index 2f4c718e5fb..4f5cef2c5c7 100644
--- a/databases/mysql56-client/Makefile.common
+++ b/databases/mysql56-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2014/08/10 15:11:57 adam Exp $
+# $NetBSD: Makefile.common,v 1.18 2014/09/24 10:02:14 jperkin Exp $
#
# used by databases/mysql56-client/Makefile
# used by databases/mysql56-server/Makefile
@@ -87,9 +87,11 @@ CFLAGS+= -fPIC -DPIC
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.
+# 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
CFLAGS+= -DHAVE_CURSES_H
CXXFLAGS+= -DHAVE_CURSES_H
.endif