1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

finance/beancount: 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)
This commit is contained in:
Kai Knoblich 2021-03-03 18:06:31 +00:00
parent 7ce25f6da2
commit c80537f843
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567108

View File

@ -34,6 +34,6 @@ USE_GITHUB= yes
USE_PYTHON= autoplist distutils noflavors
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/parser/_parser.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/parser/_parser*.so
.include <bsd.port.mk>