From e9da0ca66c8e3ac4ec71ae007ce193fbc0a2f819 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Tue, 26 Jan 2010 23:15:56 +0100 Subject: bugfix: use "$(TARGET)-pkg-config" instead of "pkg-config" in package aubio --- src/aubio-fix-pkg-config.patch | 16 ++++++++++++++++ src/aubio.mk | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/aubio-fix-pkg-config.patch diff --git a/src/aubio-fix-pkg-config.patch b/src/aubio-fix-pkg-config.patch new file mode 100644 index 0000000..a7da083 --- /dev/null +++ b/src/aubio-fix-pkg-config.patch @@ -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) + diff --git a/src/aubio.mk b/src/aubio.mk index 6a5dc3e..9c9c243 100644 --- a/src/aubio.mk +++ b/src/aubio.mk @@ -19,7 +19,8 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && autoconf && ./configure \ + cd '$(1)' && autoconf + cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ --disable-jack \ -- cgit v0.12