svn commit: r567491 - head/sysutils/duplicity

Kai Knoblich kai at FreeBSD.org
Sat Mar 6 12:16:04 UTC 2021


Author: kai
Date: Sat Mar  6 12:16:03 2021
New Revision: 567491
URL: https://svnweb.freebsd.org/changeset/ports/567491

Log:
  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)

Modified:
  head/sysutils/duplicity/Makefile

Modified: head/sysutils/duplicity/Makefile
==============================================================================
--- head/sysutils/duplicity/Makefile	Sat Mar  6 12:13:58 2021	(r567490)
+++ head/sysutils/duplicity/Makefile	Sat Mar  6 12:16:03 2021	(r567491)
@@ -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}


More information about the svn-ports-head mailing list