pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql56-client Explicitly disable epoll on S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cdf9ec5181ea
branches:  trunk
changeset: 639726:cdf9ec5181ea
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 24 10:02:14 2014 +0000

description:
Explicitly disable epoll on SunOS, the MySQL implementation is specific
to Linux at this time.

diffstat:

 databases/mysql56-client/Makefile.common |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 33b6d3677415 -r cdf9ec5181ea databases/mysql56-client/Makefile.common
--- a/databases/mysql56-client/Makefile.common  Wed Sep 24 09:47:41 2014 +0000
+++ b/databases/mysql56-client/Makefile.common  Wed Sep 24 10:02:14 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index