diff 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
line wrap: on
line diff
--- a/Makefile	Thu Sep 29 22:54:44 2022 +0200
+++ b/Makefile	Sat Oct 01 13:21:48 2022 +0200
@@ -1,9 +1,8 @@
 # Created by: David Naylor <naylor.b.david@gmail.com>
-# $FreeBSD: head/lang/pypy/Makefile 559974 2021-01-02 21:48:19Z rene $
 
 PORTNAME?=	pypy
 CATEGORIES=	lang python
-MASTER_SITES=	https://bitbucket.org/pypy/pypy/downloads/ http://buildbot.pypy.org/mirror/
+MASTER_SITES=	https://downloads.python.org/pypy/
 DISTNAME?=	${PORTNAME}2.7-v${DISTVERSION}-src
 
 MAINTAINER=	python@FreeBSD.org
@@ -19,9 +18,6 @@
 ONLY_FOR_ARCHS?=	amd64 armv6 armv7 i386 powerpc64 powerpc64le
 ONLY_FOR_ARCHS_REASON?=	PyPy JIT only supported on these architectures
 
-PATCH_SITES=	https://foss.heptapod.net/pypy/pypy/-/commit/
-PATCHFILES+=	455e1f635110df4bdc2981a3a0abf02e3d4d21b2.diff:-p1
-
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 		libffi.so:devel/libffi
 TEST_DEPENDS=	${LOCALBASE}/${PYPY_DIR}/lib_pypy/_gdbm_cffi.${PYPY_CFFI_VER}.so:databases/pypy-gdbm \
@@ -53,7 +49,7 @@
 ALL_TARGET=	${PORTNAME}-c
 BUILD_WRKSRC?=	${WRKDIR}/build/usession-${PORTNAME}-0/testing_1
 MAKE_ENV+=	PYPY_LOCALBASE=${LOCALBASE} LDSHARED="${CC} -shared"
-PACKAGE_ARGS?=	--without-gdbm --without-sqlite3 --without-tk
+PACKAGE_ARGS?=	--without-gdbm --without-sqlite3 --without-_tkinter
 LLD_UNSAFE=	yes
 SHEBANG_FILES?=	lib-python/2.7/plat-mac/appletrunner.py \
 		lib-python/2.7/plat-mac/bundlebuilder.py \
@@ -63,6 +59,7 @@
 		lib-python/2.7/test/curses_tests.py \
 		lib-python/2.7/test/re_tests.py \
 		lib-python/2.7/test/crashers/recursive_call.py \
+		lib-python/2.7/test/bisect_cmd.py \
 		lib-python/2.7/UserString.py \
 		lib-python/2.7/pdb.py \
 		lib-python/2.7/mimify.py \