Source: audacious-plugins
Version: 3.9-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

audacious-plugins fails to cross build from source, because configure.ac
hard codes the build architecture pkg-config in one place. The attached
patch fixes that and makes audacious-plugins cross buildable. Please
consider applying it.

Helmut
--- audacious-plugins-3.9.orig/configure.ac
+++ audacious-plugins-3.9/configure.ac
@@ -16,6 +16,7 @@
 AC_CONFIG_MACRO_DIR([m4])
 
 AUD_COMMON_PROGS
+PKG_PROG_PKG_CONFIG
 
 BUILDSYS_SHARED_LIB
 
@@ -626,7 +627,7 @@
 
 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

Reply via email to