svn commit: r567108 - head/finance/beancount

Kai Knoblich kai at FreeBSD.org
Wed Mar 3 18:06:31 UTC 2021


Author: kai
Date: Wed Mar  3 18:06:31 2021
New Revision: 567108
URL: https://svnweb.freebsd.org/changeset/ports/567108

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

Modified:
  head/finance/beancount/Makefile

Modified: head/finance/beancount/Makefile
==============================================================================
--- head/finance/beancount/Makefile	Wed Mar  3 18:06:27 2021	(r567107)
+++ head/finance/beancount/Makefile	Wed Mar  3 18:06:31 2021	(r567108)
@@ -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>


More information about the svn-ports-head mailing list