pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libev



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Dec  4 15:56:10 UTC 2020

Modified Files:
        pkgsrc/devel/libev: Makefile

Log Message:
libev: Build with _REENTRANT on SunOS.

Fixes issues seen with multithreaded programs on illumos.  Reported by
andyf @ OmniOS.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/libev/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/libev/Makefile
diff -u pkgsrc/devel/libev/Makefile:1.23 pkgsrc/devel/libev/Makefile:1.24
--- pkgsrc/devel/libev/Makefile:1.23    Sat May 23 16:19:10 2020
+++ pkgsrc/devel/libev/Makefile Fri Dec  4 15:56:10 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/05/23 16:19:10 nia Exp $
+# $NetBSD: Makefile,v 1.24 2020/12/04 15:56:10 jperkin Exp $
 
 DISTNAME=      libev-4.33
 CATEGORIES=    devel
@@ -13,9 +13,13 @@ USE_LIBTOOL=                 yes
 GNU_CONFIGURE=                 yes
 GNU_CONFIGURE_LIBSUBDIR=       ev
 CONFIGURE_ARGS+=               --includedir=${PREFIX}/include/ev
+
 # Explicitly disable inotify on SunOS, assumes Linux statfs.
-CONFIGURE_ENV.SunOS+=          ac_cv_header_sys_inotify_h=no
-CONFIGURE_ENV.SunOS+=          ac_cv_header_sys_epoll_h=no
+CONFIGURE_ENV.SunOS+=  ac_cv_header_sys_inotify_h=no
+CONFIGURE_ENV.SunOS+=  ac_cv_header_sys_epoll_h=no
+
+# Issues seen with multithreaded programs without _REENTRANT.
+CPPFLAGS.SunOS+=       -D_REENTRANT
 
 .include "../../mk/bsd.prefs.mk"
 



Home | Main Index | Thread Index | Old Index