changeset 82:60cd0d144d3a

Use the now centralized Python version handling
author Franz Glasner <f.glasner@feldmann-mg.com>
date Tue, 04 Oct 2022 16:34:58 +0200
parents 165c5074b9e8
children 0e2afa9bbef8
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Oct 04 15:40:13 2022 +0200
+++ b/Makefile	Tue Oct 04 16:34:58 2022 +0200
@@ -1,11 +1,11 @@
 # Created by: David Naylor <dbn@FreeBSD.org>
 
 PORTNAME=	pypy3
-DISTNAME=	${PORTNAME}.8-v${DISTVERSION}-src
+DISTNAME=	${PYTHON_IMPL_MINOR}-v${DISTVERSION}-src
 
 MASTERDIR=	${.CURDIR}/../pypy
 
-WRKSRC=		${WRKDIR}/${PORTNAME}.8-v${DISTVERSION:C/-.*//}-src
+WRKSRC=		${WRKDIR}/${PYTHON_IMPL_MINOR}-v${DISTVERSION:C/-.*//}-src
 
 # Without gdbm is not supported on v7.3.9 any more: no extra package needed
 LIB_DEPENDS+=	libgdbm.so:databases/gdbm