From 31c68383776de0690a5ff63f8049c934403c3630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 9 Dec 2013 16:55:14 +0100 Subject: [PATCH] ocp: Force SDL detection Seems we must pass CFLAGS instead now... I'd be nicer if configure used sdl-config directly though. Now it's not building anymore though... --- media-sound/ocp/ocp-0.1.21_git.recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-sound/ocp/ocp-0.1.21_git.recipe b/media-sound/ocp/ocp-0.1.21_git.recipe index fec139bb0..7c3a79062 100644 --- a/media-sound/ocp/ocp-0.1.21_git.recipe +++ b/media-sound/ocp/ocp-0.1.21_git.recipe @@ -47,16 +47,20 @@ BUILD_PREREQUIRES=" cmd:autoconf cmd:make cmd:gcc$secondaryArchSuffix - cmd:sdl_config " +#XXX: this one pulls gcc2 SDL package in... which we don't need +# cmd:sdl_config SOURCE_DIR="code" +# TODO: fix configure.ac to use sdl-config +# XXX: dwmixfa_8087.c:39:2: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' BUILD() { autoconf - ./configure --prefix=$prefix + export CFLAGS="$(sdl-config --cflags)" + ./configure --prefix=$prefix make }