1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

sysutils/duplicity: 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-06 12:16:03 +00:00
parent 0e97528d4e
commit 8513696e62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567491

View File

@ -83,7 +83,7 @@ post-patch-B2-off:
@${RM} ${WRKSRC}/${PORTNAME}/backends/b2backend.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/duplicity/_librsync.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/duplicity/_librsync*.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}