pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libevent



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Mar 15 18:07:32 UTC 2024

Modified Files:
        pkgsrc/devel/libevent: Makefile

Log Message:
libevent: Do not attempt to use the broken poll/kqueue in old Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/devel/libevent/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libevent/Makefile
diff -u pkgsrc/devel/libevent/Makefile:1.58 pkgsrc/devel/libevent/Makefile:1.59
--- pkgsrc/devel/libevent/Makefile:1.58 Tue Oct 24 22:08:51 2023
+++ pkgsrc/devel/libevent/Makefile      Fri Mar 15 18:07:32 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2023/10/24 22:08:51 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2024/03/15 18:07:32 nia Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "../../devel/libevent/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/-stable//}
@@ -27,6 +27,12 @@ CPPFLAGS.QNX+=               -D__EXT_POSIX2
 CONFIGURE_ENV.SunOS+=  ac_cv_func_epoll_ctl=no
 CONFIGURE_ENV.NetBSD+= ac_cv_func_epoll_ctl=no
 
+# www/links fails to run on old versions of Darwin without this change.
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
+CONFIGURE_ENV+=                ac_cv_func_kqueue=no
+CONFIGURE_ENV+=                ac_cv_func_poll=no
+.endif
+
 .if !empty(MACHINE_PLATFORM:MHPUX-11.11-*)
 CONFIGURE_ENV+=                ac_cv_func_strtoll=yes
 CPPFLAGS+=             -Dstrtoll=__strtoll



Home | Main Index | Thread Index | Old Index