aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-tkinter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-tkinter/Makefile')
-rw-r--r--x11-toolkits/py-tkinter/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-toolkits/py-tkinter/Makefile b/x11-toolkits/py-tkinter/Makefile
index ee9849b75ec2..f6a88435c6b2 100644
--- a/x11-toolkits/py-tkinter/Makefile
+++ b/x11-toolkits/py-tkinter/Makefile
@@ -20,14 +20,14 @@ USES= compiler:c11 python tar:xz tk:86 xorg
USE_PYTHON= allflavors autoplist pep517
USE_XORG= x11
-DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
+DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_BASESUFFIX}/distinfo
WRKSRC_SUBDIR= Modules
SUB_LIST+= DISTVERSION=${DISTVERSION} \
TK_VER=${TK_VER}
SUB_FILES= pyproject.toml \
setup.py
-PLIST_FILES= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}/lib-dynload/_tkinter${PYTHON_TAG}.so
+PLIST_FILES= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}/lib-dynload/_tkinter${PYTHON_SOABI}.so
PORTSCOUT= ignore:1
@@ -36,10 +36,10 @@ pre-configure:
@${MV} ${WRKDIR}/setup.py ${WRKSRC}
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_tkinter${PYTHON_TAG}.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_tkinter${PYTHON_SOABI}.so
# lib-dynload is the expected location
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_LIBDIR}/lib-dynload
- @(cd ${STAGEDIR}${PYTHONPREFIX_LIBDIR}/lib-dynload && ${LN} -s ../site-packages/_tkinter${PYTHON_TAG}.so)
+ @(cd ${STAGEDIR}${PYTHONPREFIX_LIBDIR}/lib-dynload && ${LN} -s ../site-packages/_tkinter${PYTHON_SOABI}.so)
do-test:
@${PYTHON_CMD} -c 'import tkinter' # minimal smoke test