Package: xmltooling / 1.6.0-4+deb9u2

Make-pkgconfigdir-configurable.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@niif.hu>
Date: Tue, 5 Jul 2016 12:44:39 +0200
Subject: Make pkgconfigdir configurable

---
 Makefile.am  | 1 -
 configure.ac | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 89972c7..6bcdb1b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,6 @@ else
 all-local:
 endif
 
-pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = @PACKAGE_NAME@.pc
 
 GENFILES = @PACKAGE_NAME@.spec
diff --git a/configure.ac b/configure.ac
index 19017c3..abc8836 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ AC_CONFIG_MACRO_DIR(m4)
 AM_INIT_AUTOMAKE
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
+PKG_INSTALLDIR
 
 # Docygen features
 DX_HTML_FEATURE(ON)