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:   nia
Date:           Sat May 23 16:19:10 UTC 2020

Modified Files:
        pkgsrc/devel/libev: Makefile

Log Message:
libev: Fix build on NetBSD/sparc

>From Tobias Ulmer, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 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.22 pkgsrc/devel/libev/Makefile:1.23
--- pkgsrc/devel/libev/Makefile:1.22    Sun Mar 22 16:01:46 2020
+++ pkgsrc/devel/libev/Makefile Sat May 23 16:19:10 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/03/22 16:01:46 nia Exp $
+# $NetBSD: Makefile,v 1.23 2020/05/23 16:19:10 nia Exp $
 
 DISTNAME=      libev-4.33
 CATEGORIES=    devel
@@ -17,4 +17,11 @@ CONFIGURE_ARGS+=             --includedir=${PREFIX}
 CONFIGURE_ENV.SunOS+=          ac_cv_header_sys_inotify_h=no
 CONFIGURE_ENV.SunOS+=          ac_cv_header_sys_epoll_h=no
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
+# Prevent ev.c from using v9 memory barrier instructions
+CPPFLAGS+=     -D__sparc_v8__=1
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index