pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-multiprocessing Does not work with python24 o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2653b13492c
branches:  trunk
changeset: 593261:f2653b13492c
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Oct 03 00:02:46 2011 +0000

description:
Does not work with python24 on NetBSD because of mremap(). Could be
fixed, probably not worthwhile.

diffstat:

 devel/py-multiprocessing/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r d3fd5eb3a21c -r f2653b13492c devel/py-multiprocessing/Makefile
--- a/devel/py-multiprocessing/Makefile Sun Oct 02 23:56:50 2011 +0000
+++ b/devel/py-multiprocessing/Makefile Mon Oct 03 00:02:46 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/11/02 19:20:16 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2011/10/03 00:02:46 dholland Exp $
 #
 
 DISTNAME=      multiprocessing-2.6.2.1
@@ -15,6 +15,13 @@
 
 PYDISTUTILSPKG=        yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+# Does not like netbsd's mremap()
+PYTHON_VERSIONS_INCOMPATIBLE=  24
+.endif
+
 do-test:
        ${PYTHONBIN} -c "from multiprocessing import tests;tests.test_main()"
 



Home | Main Index | Thread Index | Old Index