benchfft: fixup Makefile so compile gets a bit further. Still tries to run generated...
authorKoen Kooi <koen@openembedded.org>
Sun, 11 May 2008 12:34:42 +0000 (12:34 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 11 May 2008 12:34:42 +0000 (12:34 +0000)
packages/fftw/benchfft_3.1.bb

index 8d2d8b7..7b9a711 100644 (file)
@@ -3,12 +3,19 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPLv2"
 
+# single precision fftw is called fftwf 
+DEPENDS = "fftwf"
+
 SRC_URI = "http://www.fftw.org/benchfft/benchfft-${PV}.tar.gz"
 
 EXTRA_OECONF = "--disable-fortran --enable-single --enable-shared"
 
 inherit autotools pkgconfig
 
+do_compile_prepend() {
+       sed -i -e 's:all-recursive:$(RECURSIVE_TARGETS):g' ${S}/Makefile
+}
+
 do_stage () {
         autotools_stage_all
 }