diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-04-23 09:23:46 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-04-23 09:23:46 +0000 |
commit | a202795d7971902775f2ca79a8ad269b5641ec20 (patch) | |
tree | 95dea21a77915d224fab4c2c2ca811ebb680a774 | |
parent | 78f52d07f8c9ac04c74ee74b05b9dfa2dfc5e126 (diff) | |
download | pkgsrc-a202795d7971902775f2ca79a8ad269b5641ec20.tar.gz |
Explicitly disable epoll on illumos, it is provided for Linux compatibility
only.
-rw-r--r-- | devel/libevent/Makefile | 7 | ||||
-rw-r--r-- | devel/libmowgli/Makefile | 7 |
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" |