[packages/pdflib-lite] use PYTHONBIN for python lib dir detection instead of fixed "python"

atler atler at pld-linux.org
Sun Jun 30 16:08:02 CEST 2024


commit aed3db323b92235eeaf4b462c5a5069c0688e34f
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jun 30 15:27:28 2024 +0200

    use PYTHONBIN for python lib dir detection instead of fixed "python"

 pdflib-lite-python.patch | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/pdflib-lite-python.patch b/pdflib-lite-python.patch
index 0344d70..eb6bc9e 100644
--- a/pdflib-lite-python.patch
+++ b/pdflib-lite-python.patch
@@ -1,8 +1,11 @@
---- PDFlib-Lite-7.0.5p3/configure.in.orig	2020-11-18 21:27:03.171762176 +0100
-+++ PDFlib-Lite-7.0.5p3/configure.in	2020-11-18 21:57:20.398584079 +0100
-@@ -896,8 +896,8 @@
+--- PDFlib-Lite-7.0.5p3/configure.in.orig	2012-06-06 13:58:57.000000000 +0200
++++ PDFlib-Lite-7.0.5p3/configure.in	2024-06-30 15:16:35.518009402 +0200
+@@ -894,10 +894,10 @@
+ 	if test "$PYTHONBIN" = "nope" ; then
+ 	    WITH_PYTHON=no
  	else
- 	    PYTHONLIBDIR=`cat << EOF | python
+-	    PYTHONLIBDIR=`cat << EOF | python
++	    PYTHONLIBDIR=`cat << EOF | $PYTHONBIN
  import sys
 -import string
 -print string.join(filter(lambda x: -1 != string.find(x, 'dynload'), sys.path))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pdflib-lite.git/commitdiff/aed3db323b92235eeaf4b462c5a5069c0688e34f



More information about the pld-cvs-commit mailing list