svn commit: r567304 - head/net/py-pynmsg
Kai Knoblich
kai at FreeBSD.org
Thu Mar 4 11:28:49 UTC 2021
Author: kai
Date: Thu Mar 4 11:28:49 2021
New Revision: 567304
URL: https://svnweb.freebsd.org/changeset/ports/567304
Log:
net/py-pynmsg: Fix packaging with Python 3.8
* Apply the same fix as in r559094 by stripping libraries by wildcard paths.
* Also use PYTHONPREFIX_SITELIBDIR instead PYTHON_SITELIBDIR to make the
port PREFIX safe while I'm here.
PR: 253815
Approved by: python (with hat)
Modified:
head/net/py-pynmsg/Makefile
Modified: head/net/py-pynmsg/Makefile
==============================================================================
--- head/net/py-pynmsg/Makefile Thu Mar 4 11:26:52 2021 (r567303)
+++ head/net/py-pynmsg/Makefile Thu Mar 4 11:28:49 2021 (r567304)
@@ -26,7 +26,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= EXAMPLES
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nmsg*.so
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
More information about the svn-ports-head
mailing list