mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
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...
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user