pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-gevent
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Oct 22 15:33:44 UTC 2018
Modified Files:
pkgsrc/net/py-gevent: Makefile
Log Message:
py-gevent: Fix SunOS C99 build.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/py-gevent/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-gevent/Makefile
diff -u pkgsrc/net/py-gevent/Makefile:1.11 pkgsrc/net/py-gevent/Makefile:1.12
--- pkgsrc/net/py-gevent/Makefile:1.11 Sun Aug 19 09:44:28 2018
+++ pkgsrc/net/py-gevent/Makefile Mon Oct 22 15:33:44 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/08/19 09:44:28 adam Exp $
+# $NetBSD: Makefile,v 1.12 2018/10/22 15:33:44 jperkin Exp $
DISTNAME= gevent-1.3.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -31,6 +31,12 @@ USE_LANGUAGES= c c++
# Explicitly disable inotify on SunOS, assumes Linux statfs.
MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
+.endif
+
do-test:
cd ${WRKSRC}/src/greentest && \
${PYTHONBIN} testrunner.py --config known_failures.py
Home |
Main Index |
Thread Index |
Old Index