diff Makefile @ 43:af3a2629a882

Allow to build PyPy3.9: the target name in the generated Makefile has changed
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 09 Oct 2022 12:56:53 +0200
parents 08af0d826e3b
children 5e046980990d
line wrap: on
line diff
--- a/Makefile	Sun Oct 09 12:43:52 2022 +0200
+++ b/Makefile	Sun Oct 09 12:56:53 2022 +0200
@@ -48,7 +48,7 @@
 OPTIONS_SLAVE=	PYTHON
 .endif
 
-ALL_TARGET=	${PORTNAME}-c
+ALL_TARGET=	${PYPY_EXECUTABLE}
 BUILD_WRKSRC?=	${WRKDIR}/build/usession-${PORTNAME}-0/testing_1
 MAKE_ENV+=	PYPY_LOCALBASE=${LOCALBASE} PYPY_WRKDIR=${WRKDIR} LDSHARED="${CC} -shared"
 PACKAGE_ARGS?=	--without-gdbm --without-sqlite3 --without-_tkinter
@@ -125,7 +125,7 @@
 	fi
 
 post-build:
-	${CP} ${BUILD_WRKSRC}/${PORTNAME}-c ${BUILD_WRKSRC}/${PYPY_LDLIBRARY} ${WRKSRC}/pypy/goal/
+	${CP} ${BUILD_WRKSRC}/${PYPY_EXECUTABLE} ${BUILD_WRKSRC}/${PYPY_LDLIBRARY} ${WRKSRC}/pypy/goal/
 
 do-install:
 	${SETENV} ${MAKE_ENV} TMPDIR=${WRKDIR}/build \