aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-31 16:38:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-31 16:42:04 +0000
commit0fb123abaab69957b55f6cee92885dc1a65406ec (patch)
treeb7211b4ea3feb1bfbe0cec7edebc2388a3bbc4cc
parentaec79a480f0cde3ac96adb266dee6bb7c660d392 (diff)
downloadports-0fb123abaab69957b55f6cee92885dc1a65406ec.tar.gz
ports-0fb123abaab69957b55f6cee92885dc1a65406ec.zip
x11-toolkits/py-tkinter: Strip shared library
- Bump PORTREVISION for package change
-rw-r--r--x11-toolkits/py-tkinter/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11-toolkits/py-tkinter/Makefile b/x11-toolkits/py-tkinter/Makefile
index 0feeab8320ae..5b7e5a7f3b9c 100644
--- a/x11-toolkits/py-tkinter/Makefile
+++ b/x11-toolkits/py-tkinter/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tkinter
DISTVERSION= ${PYTHON_DISTVERSION}
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11-toolkits python
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -31,4 +31,7 @@ post-extract:
@${SED} -e "s|%%TK_VER%%|${TK_VER}|" ${FILESDIR}/setup3.py > ${WRKSRC}/setup.py
.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/lib-dynload/_tkinter.cpython-${PYTHON_SUFFIX}.so
+
.include <bsd.port.post.mk>