Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2021 20:41:53 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566558 - head/databases/py-asyncpg
Message-ID:  <202102252041.11PKfrH0054969@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb 25 20:41:53 2021
New Revision: 566558
URL: https://svnweb.freebsd.org/changeset/ports/566558

Log:
  - Fix build with python 3.8+ by stripping libraries by wildcard paths, similar to r559094
  - Fix PYTHONPREFIX misuse and silence stripping
  
  Approved by:	portmgr blanket

Modified:
  head/databases/py-asyncpg/Makefile

Modified: head/databases/py-asyncpg/Makefile
==============================================================================
--- head/databases/py-asyncpg/Makefile	Thu Feb 25 20:41:22 2021	(r566557)
+++ head/databases/py-asyncpg/Makefile	Thu Feb 25 20:41:53 2021	(r566558)
@@ -20,8 +20,8 @@ OPTIONS_DEFINE=	DOCS
 PORTDOCS=	PKG-INFO README.rst
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/protocol/protocol.so
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/pgproto/pgproto.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/protocol/protocol*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/pgproto/pgproto*.so
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102252041.11PKfrH0054969>