changeset 669:7d39dfb2b0db

bugfix: use "$(TARGET)-pkg-config" instead of "pkg-config" in package aubio
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 26 Jan 2010 23:15:56 +0100
parents b37283cb0a26
children 73d6b9460f74
files src/aubio-fix-pkg-config.patch src/aubio.mk
diffstat 2 files changed, 18 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/aubio-fix-pkg-config.patch	Tue Jan 26 23:15:56 2010 +0100
@@ -0,0 +1,16 @@
+This file is part of mingw-cross-env.
+See doc/index.html or doc/README for further information.
+
+diff -urN aubio-0.3.2.orig/configure.ac aubio-0.3.2/configure.ac
+--- aubio-0.3.2.orig/configure.ac	2006-10-09 01:11:39.000000000 +0200
++++ aubio-0.3.2/configure.ac	2010-01-26 23:07:23.000000000 +0100
+@@ -135,9 +135,6 @@
+             [Defined when c99 style varargs macros are supported])
+ fi
+ 
+-dnl Check for pkg-config
+-AC_PATH_PROG(PKG_CONFIG,pkg-config,no)
+-
+ PKG_CHECK_MODULES(SNDLIB,     sndfile >= 1.0.4,       SNDLIB_SUPPORT=1)
+ PKG_CHECK_MODULES(SAMPLERATE, samplerate  >= 0.0.15,  SAMPLERATE_SUPPORT=1)
+ 
--- a/src/aubio.mk	Tue Jan 26 18:19:19 2010 +0100
+++ b/src/aubio.mk	Tue Jan 26 23:15:56 2010 +0100
@@ -19,7 +19,8 @@
 endef
 
 define $(PKG)_BUILD
-    cd '$(1)' && autoconf && ./configure \
+    cd '$(1)' && autoconf
+    cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --disable-shared \
         --disable-jack \