File: 0001-Do-not-hard-code-build-architecture-pkg-config.patch

package info (click to toggle)
audacious-plugins 4.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,252 kB
  • sloc: cpp: 114,632; sh: 4,049; makefile: 1,299; ansic: 608; objc: 447; xml: 44
file content (31 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (3)
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
From: Helmut Grohne <helmut@subdivi.de>
Date: Sat, 9 Jun 2018 18:11:29 +0200
Subject: Do not hard code build architecture pkg-config
Forwarded: not-needed

Debian-Bug: https://bugs.debian.org/901161
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 642443e..f231491 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,7 @@ AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
 AUD_COMMON_PROGS
+PKG_PROG_PKG_CONFIG
 
 BUILDSYS_INIT
 BUILDSYS_SHARED_LIB
@@ -676,7 +677,7 @@ fi
 
 dnl *** End of all plugin checks ***
 
-plugindir=`pkg-config audacious --variable=plugin_dir`
+plugindir=`$PKG_CONFIG audacious --variable=plugin_dir`
 AC_SUBST(plugindir)
 
 dnl XXX