summaryrefslogtreecommitdiff
path: root/lang/pypy3-devel
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-08-11 18:33:33 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-08-11 18:33:33 +0000
commit74cc02b4ee32a845d59f0259fe9d2fb2ebfcb505 (patch)
treea55348c3d700a9332ac29917ccb8f9602b485a9f /lang/pypy3-devel
parentBackport changes from emulators/wine-devel and add CONFLICTS_INSTALL. (diff)
Backport and fix-up lang/pypy* ports.
pypy: - fix sysconfig.py's include path - bump PORTREVISION due to above fix pypy-devel: - remove duplicate '-e' when creating pkg-plist - ancillary port functionality (thus no PORTREVISION bump) pypy3-devel: - add missing patch - fix pkg-plist - build fails without above patch (thus no PORTREVISION bump)
Notes
Notes: svn path=/head/; revision=324604
Diffstat (limited to 'lang/pypy3-devel')
-rw-r--r--lang/pypy3-devel/files/patch-pypy__module___posixsubprocess__interp_subprocess.py27
-rw-r--r--lang/pypy3-devel/pkg-plist6
2 files changed, 30 insertions, 3 deletions
diff --git a/lang/pypy3-devel/files/patch-pypy__module___posixsubprocess__interp_subprocess.py b/lang/pypy3-devel/files/patch-pypy__module___posixsubprocess__interp_subprocess.py
new file mode 100644
index 000000000000..9cb2209650a0
--- /dev/null
+++ b/lang/pypy3-devel/files/patch-pypy__module___posixsubprocess__interp_subprocess.py
@@ -0,0 +1,27 @@
+--- pypy/module/_posixsubprocess/interp_subprocess.py~ 2013-08-09 19:13:04.000000000 +0200
++++ pypy/module/_posixsubprocess/interp_subprocess.py 2013-08-09 19:20:31.000000000 +0200
+@@ -12,8 +12,10 @@
+
+ class CConfig:
+ _compilation_info_ = ExternalCompilationInfo(
+- includes=['unistd.h', 'sys/syscall.h'])
++ includes=['unistd.h', 'sys/stat.h', 'sys/syscall.h', 'sys/types.h'])
++ HAVE_SYS_STAT_H = platform.Has('stat')
+ HAVE_SYS_SYSCALL_H = platform.Has("syscall")
++ HAVE_SYS_TYPES_H = platform.Has('types')
+ HAVE_SETSID = platform.Has("setsid")
+
+ config = platform.configure(CConfig)
+@@ -26,8 +28,12 @@
+ ])
+
+ compile_extra = []
++if config['HAVE_SYS_STAT_H']:
++ compile_extra.append('-DHAVE_SYS_STAT_H')
+ if config['HAVE_SYS_SYSCALL_H']:
+ compile_extra.append("-DHAVE_SYS_SYSCALL_H")
++if config['HAVE_SYS_TYPES_H']:
++ compile_extra.append('-DHAVE_SYS_TYPES_H')
+ if config['HAVE_SETSID']:
+ compile_extra.append("-DHAVE_SETSID")
+
diff --git a/lang/pypy3-devel/pkg-plist b/lang/pypy3-devel/pkg-plist
index 14ff16f05e3a..8ce4afbb825b 100644
--- a/lang/pypy3-devel/pkg-plist
+++ b/lang/pypy3-devel/pkg-plist
@@ -1409,9 +1409,9 @@
%%PYPY_LIBDIR%%/lib_pypy/__init__.py
%%PYPY_LIBDIR%%/lib_pypy/__init__.pyc
%%PYPY_LIBDIR%%/lib_pypy/__pycache__/__init__.pypy-%%PYPY_VER%%.pyc
-%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_cffi__gb56459ffx310af836.pypy-21.so
-%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_cffi__gb61d9cdcx1fd01a91.pypy-21.so
-%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_cffi__gd9aba7e0xad93c709.pypy-21.so
+%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_cffi__gb56459ffx310af836.pypy-%%PYPY_VER%%.so
+%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_cffi__gb61d9cdcx1fd01a91.pypy-%%PYPY_VER%%.so
+%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_cffi__gd9aba7e0xad93c709.pypy-%%PYPY_VER%%.so
%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_codecs_cn.pypy-%%PYPY_VER%%.pyc
%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_codecs_hk.pypy-%%PYPY_VER%%.pyc
%%PYPY_LIBDIR%%/lib_pypy/__pycache__/_codecs_iso2022.pypy-%%PYPY_VER%%.pyc