[packages/unbound] - adjusted pythondir patch to drop -Lpythondir from `pkg-config --static --libs libunbound`

qboosh qboosh at pld-linux.org
Wed Sep 9 21:25:57 CEST 2020


commit cbb1660fbb07f75c32d9b28e81efd90b142f7078
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 9 21:28:43 2020 +0200

    - adjusted pythondir patch to drop -Lpythondir from `pkg-config --static --libs libunbound`

 unbound-pythondir.patch | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/unbound-pythondir.patch b/unbound-pythondir.patch
index 05bd028..7c5f724 100644
--- a/unbound-pythondir.patch
+++ b/unbound-pythondir.patch
@@ -1,5 +1,14 @@
 --- unbound-1.5.7/acx_python.m4.orig	2014-09-19 11:57:20.000000000 +0200
 +++ unbound-1.5.7/acx_python.m4	2016-03-02 07:58:16.255669696 +0100
+@@ -53,7 +53,7 @@
+         AC_MSG_CHECKING([for Python library path])
+         if test -z "$PYTHON_LDFLAGS"; then
+                 PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
+-                        print('-L'+get_config_var('LIBDIR')+' -L'+get_config_var('LIBDEST')+' '+get_config_var('BLDLIBRARY'));"`
++                        print('-L'+get_config_var('LIBDIR')+' '+get_config_var('BLDLIBRARY'));"`
+         fi
+         AC_MSG_RESULT([$PYTHON_LDFLAGS])
+         AC_SUBST([PYTHON_LDFLAGS])
 @@ -65,7 +65,7 @@
          AC_MSG_CHECKING([for Python site-packages path])
          if test -z "$PYTHON_SITE_PKG"; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unbound.git/commitdiff/cbb1660fbb07f75c32d9b28e81efd90b142f7078



More information about the pld-cvs-commit mailing list