pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Explicitly disable epoll on illumos, it is provi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75ba006372ec
branches:  trunk
changeset: 650461:75ba006372ec
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Apr 23 09:23:46 2015 +0000

description:
Explicitly disable epoll on illumos, it is provided for Linux compatibility
only.

diffstat:

 devel/libevent/Makefile  |  7 ++++++-
 devel/libmowgli/Makefile |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 74aae44a0fb0 -r 75ba006372ec devel/libevent/Makefile
--- a/devel/libevent/Makefile   Thu Apr 23 09:18:57 2015 +0000
+++ b/devel/libevent/Makefile   Thu Apr 23 09:23:46 2015 +0000
@@ -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 @@
 
 .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 -r 74aae44a0fb0 -r 75ba006372ec devel/libmowgli/Makefile
--- a/devel/libmowgli/Makefile  Thu Apr 23 09:18:57 2015 +0000
+++ b/devel/libmowgli/Makefile  Thu Apr 23 09:23:46 2015 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index