Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison Makefile @ 10:c269f1e91387
Update to build PyPy on FreeBSD 13.1 with dist versilon 7.3.9
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 01 Oct 2022 13:21:48 +0200 |
| parents | 5797a1bc38cb |
| children | a92355d5c173 |
comparison
equal
deleted
inserted
replaced
| 9:118d389d45e0 | 10:c269f1e91387 |
|---|---|
| 1 # Created by: David Naylor <naylor.b.david@gmail.com> | 1 # Created by: David Naylor <naylor.b.david@gmail.com> |
| 2 # $FreeBSD: head/lang/pypy/Makefile 559974 2021-01-02 21:48:19Z rene $ | |
| 3 | 2 |
| 4 PORTNAME?= pypy | 3 PORTNAME?= pypy |
| 5 CATEGORIES= lang python | 4 CATEGORIES= lang python |
| 6 MASTER_SITES= https://bitbucket.org/pypy/pypy/downloads/ http://buildbot.pypy.org/mirror/ | 5 MASTER_SITES= https://downloads.python.org/pypy/ |
| 7 DISTNAME?= ${PORTNAME}2.7-v${DISTVERSION}-src | 6 DISTNAME?= ${PORTNAME}2.7-v${DISTVERSION}-src |
| 8 | 7 |
| 9 MAINTAINER= python@FreeBSD.org | 8 MAINTAINER= python@FreeBSD.org |
| 10 COMMENT= Fast, compliant implementation of the Python language | 9 COMMENT= Fast, compliant implementation of the Python language |
| 11 | 10 |
| 16 BROKEN_armv6= fails to package: pypy_objspace_std.c: Crash in JIT! | 15 BROKEN_armv6= fails to package: pypy_objspace_std.c: Crash in JIT! |
| 17 BROKEN_armv7= fails to package: pypy_objspace_std.c: Crash in JIT! | 16 BROKEN_armv7= fails to package: pypy_objspace_std.c: Crash in JIT! |
| 18 BROKEN_powerpc64= fails to compile: platcheck_109.c: fatal error: linux/auxvec.h: No such file or directory | 17 BROKEN_powerpc64= fails to compile: platcheck_109.c: fatal error: linux/auxvec.h: No such file or directory |
| 19 ONLY_FOR_ARCHS?= amd64 armv6 armv7 i386 powerpc64 powerpc64le | 18 ONLY_FOR_ARCHS?= amd64 armv6 armv7 i386 powerpc64 powerpc64le |
| 20 ONLY_FOR_ARCHS_REASON?= PyPy JIT only supported on these architectures | 19 ONLY_FOR_ARCHS_REASON?= PyPy JIT only supported on these architectures |
| 21 | |
| 22 PATCH_SITES= https://foss.heptapod.net/pypy/pypy/-/commit/ | |
| 23 PATCHFILES+= 455e1f635110df4bdc2981a3a0abf02e3d4d21b2.diff:-p1 | |
| 24 | 20 |
| 25 LIB_DEPENDS= libexpat.so:textproc/expat2 \ | 21 LIB_DEPENDS= libexpat.so:textproc/expat2 \ |
| 26 libffi.so:devel/libffi | 22 libffi.so:devel/libffi |
| 27 TEST_DEPENDS= ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_gdbm_cffi.${PYPY_CFFI_VER}.so:databases/pypy-gdbm \ | 23 TEST_DEPENDS= ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_gdbm_cffi.${PYPY_CFFI_VER}.so:databases/pypy-gdbm \ |
| 28 ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_sqlite3_cffi.${PYPY_CFFI_VER}.so:databases/pypy-sqlite3 \ | 24 ${LOCALBASE}/${PYPY_DIR}/lib_pypy/_sqlite3_cffi.${PYPY_CFFI_VER}.so:databases/pypy-sqlite3 \ |
| 51 .endif | 47 .endif |
| 52 | 48 |
| 53 ALL_TARGET= ${PORTNAME}-c | 49 ALL_TARGET= ${PORTNAME}-c |
| 54 BUILD_WRKSRC?= ${WRKDIR}/build/usession-${PORTNAME}-0/testing_1 | 50 BUILD_WRKSRC?= ${WRKDIR}/build/usession-${PORTNAME}-0/testing_1 |
| 55 MAKE_ENV+= PYPY_LOCALBASE=${LOCALBASE} LDSHARED="${CC} -shared" | 51 MAKE_ENV+= PYPY_LOCALBASE=${LOCALBASE} LDSHARED="${CC} -shared" |
| 56 PACKAGE_ARGS?= --without-gdbm --without-sqlite3 --without-tk | 52 PACKAGE_ARGS?= --without-gdbm --without-sqlite3 --without-_tkinter |
| 57 LLD_UNSAFE= yes | 53 LLD_UNSAFE= yes |
| 58 SHEBANG_FILES?= lib-python/2.7/plat-mac/appletrunner.py \ | 54 SHEBANG_FILES?= lib-python/2.7/plat-mac/appletrunner.py \ |
| 59 lib-python/2.7/plat-mac/bundlebuilder.py \ | 55 lib-python/2.7/plat-mac/bundlebuilder.py \ |
| 60 lib-python/2.7/keyword.py \ | 56 lib-python/2.7/keyword.py \ |
| 61 lib-python/2.7/test/regrtest.py \ | 57 lib-python/2.7/test/regrtest.py \ |
| 62 lib-python/2.7/test/pystone.py \ | 58 lib-python/2.7/test/pystone.py \ |
| 63 lib-python/2.7/test/curses_tests.py \ | 59 lib-python/2.7/test/curses_tests.py \ |
| 64 lib-python/2.7/test/re_tests.py \ | 60 lib-python/2.7/test/re_tests.py \ |
| 65 lib-python/2.7/test/crashers/recursive_call.py \ | 61 lib-python/2.7/test/crashers/recursive_call.py \ |
| 62 lib-python/2.7/test/bisect_cmd.py \ | |
| 66 lib-python/2.7/UserString.py \ | 63 lib-python/2.7/UserString.py \ |
| 67 lib-python/2.7/pdb.py \ | 64 lib-python/2.7/pdb.py \ |
| 68 lib-python/2.7/mimify.py \ | 65 lib-python/2.7/mimify.py \ |
| 69 lib-python/2.7/pydoc.py \ | 66 lib-python/2.7/pydoc.py \ |
| 70 lib-python/2.7/uu.py \ | 67 lib-python/2.7/uu.py \ |
