[xmltooling] 14/17: New patch Only-add-found-packages-to-the-pkg-config-dependenci.patch

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jul 21 18:17:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to branch debian/experimental
in repository xmltooling.

commit d6d7b6020941d4258708c077fa758e1a8ec6bb2d
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Wed Jul 20 02:14:13 2016 +0200

    New patch Only-add-found-packages-to-the-pkg-config-dependenci.patch
    
    Only add found packages to the pkg-config dependencies
---
 ...und-packages-to-the-pkg-config-dependenci.patch | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/Only-add-found-packages-to-the-pkg-config-dependenci.patch b/debian/patches/Only-add-found-packages-to-the-pkg-config-dependenci.patch
new file mode 100644
index 0000000..4f3ed50
--- /dev/null
+++ b/debian/patches/Only-add-found-packages-to-the-pkg-config-dependenci.patch
@@ -0,0 +1,27 @@
+From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi at niif.hu>
+Date: Fri, 8 Jul 2016 20:16:53 +0200
+Subject: Only add found packages to the pkg-config dependencies
+
+---
+ m4/ax_pkg_check_modules.m4 | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/m4/ax_pkg_check_modules.m4 b/m4/ax_pkg_check_modules.m4
+index f3af0f6..ab8adf9 100644
+--- a/m4/ax_pkg_check_modules.m4
++++ b/m4/ax_pkg_check_modules.m4
+@@ -58,10 +58,10 @@ AC_DEFUN([AX_PKG_CHECK_MODULES],[
+     m4_define([ax_package_requires_private],
+               [m4_default_quoted([$7],[AX_PACKAGE_REQUIRES_PRIVATE])])
+ 
+-    ax_package_requires="$[]ax_package_requires $2"
+-    ax_package_requires_private="$[]ax_package_requires_private $3"
+-
+-    PKG_CHECK_MODULES([$1],[$2 $3],[$4],[$5])
++    PKG_CHECK_MODULES([$1],[$2 $3],[
++        ax_package_requires="$[]ax_package_requires $2"
++        ax_package_requires_private="$[]ax_package_requires_private $3"
++        $4],[$5])
+ 
+     # Substitute output.
+     AC_SUBST(ax_package_requires)
diff --git a/debian/patches/series b/debian/patches/series
index 692b5e9..84c1164 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@ The-.cpp-dependencies-are-well-known-no-need-to-decl.patch
 Refactor-test-source-generation.patch
 Factor-out-the-Xerces-library-dependence.patch
 Two-more-tests-don-t-build-without-xmlsec.patch
+Only-add-found-packages-to-the-pkg-config-dependenci.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git



More information about the Pkg-shibboleth-devel mailing list