summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-04-23 09:23:46 +0000
committerjperkin <jperkin@pkgsrc.org>2015-04-23 09:23:46 +0000
commita202795d7971902775f2ca79a8ad269b5641ec20 (patch)
tree95dea21a77915d224fab4c2c2ca811ebb680a774
parent78f52d07f8c9ac04c74ee74b05b9dfa2dfc5e126 (diff)
downloadpkgsrc-a202795d7971902775f2ca79a8ad269b5641ec20.tar.gz
Explicitly disable epoll on illumos, it is provided for Linux compatibility
only.
-rw-r--r--devel/libevent/Makefile7
-rw-r--r--devel/libmowgli/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile
index 06d4d76a597..4e60a564bc5 100644
--- a/devel/libevent/Makefile
+++ b/devel/libevent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2015/03/14 17:43:57 tnn Exp $
+# $NetBSD: Makefile,v 1.48 2015/04/23 09:23:46 jperkin Exp $
.include "../../devel/libevent/Makefile.common"
@@ -27,6 +27,11 @@ CPPFLAGS.SunOS+= -D__EXTENSIONS__
.include "../../mk/bsd.prefs.mk"
+# Explicitly disable epoll on illumos, provided for Linux compat only.
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_func_epoll_ctl=no
+.endif
+
.if !empty(MACHINE_PLATFORM:MHPUX-11.11-*)
CONFIGURE_ENV+= ac_cv_func_strtoll=yes
CPPFLAGS+= -Dstrtoll=__strtoll
diff --git a/devel/libmowgli/Makefile b/devel/libmowgli/Makefile
index c1dbca82dd8..70d15d95677 100644
--- a/devel/libmowgli/Makefile
+++ b/devel/libmowgli/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/31 11:17:18 asau Exp $
+# $NetBSD: Makefile,v 1.6 2015/04/23 09:24:56 jperkin Exp $
#
DISTNAME= libmowgli-0.7.1
@@ -18,4 +18,9 @@ USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= libmowgli.pc.in
+OPSYSVARS+= CONFIGURE_ENV
+
+# Explicitly disable epoll on illumos, provided for Linux compat only.
+CONFIGURE_ENV.SunOS+= ac_cv_func_epoll_ctl=no
+
.include "../../mk/bsd.pkg.mk"