Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 06:07:03 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4895c07d415b - main - graphics/py-ueberzug: Fix packaging with Python 3.8+
Message-ID:  <202104230607.13N673QG098813@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4895c07d415b2ff07fdf2cb33e4eb2a45094ad0a

commit 4895c07d415b2ff07fdf2cb33e4eb2a45094ad0a
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-04-23 05:58:00 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-04-23 06:04:22 +0000

    graphics/py-ueberzug: Fix packaging with Python 3.8+
    
    * Apply the same fix as in 9cb5898561b302d952fec8e2fac66a945a2c4915 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)
---
 graphics/py-ueberzug/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/py-ueberzug/Makefile b/graphics/py-ueberzug/Makefile
index 997b89a652b1..055ab013e976 100644
--- a/graphics/py-ueberzug/Makefile
+++ b/graphics/py-ueberzug/Makefile
@@ -28,7 +28,7 @@ PORTEXAMPLES=	fzfimg.sh mastodon.sh
 OPTIONS_DEFINE=	EXAMPLES
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/Xshm.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Xshm*.so
 
 post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}



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