Skip to content

Commit

Permalink
graphics/py-ueberzug: Fix packaging with Python 3.8+
Browse files Browse the repository at this point in the history
* Apply the same fix as in 9cb5898 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)
  • Loading branch information
knobix committed Apr 23, 2021
1 parent 4503deb commit 4895c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/py-ueberzug/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 4895c07

Please sign in to comment.