summaryrefslogtreecommitdiff
path: root/packages/uae
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-17 13:26:25 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-17 13:26:25 +0100
commit9ee8384a6b7a2860999223e01d13dcd858da0349 (patch)
tree0424f68388414124e7d7a3812aaf09e450a5f040 /packages/uae
parent00060838e955427a06097824a4823b7b9832968d (diff)
e-uae: fix build
Diffstat (limited to 'packages/uae')
-rw-r--r--packages/uae/e-uae_0.8.28.bb6
-rw-r--r--packages/uae/files/configure.patch2
2 files changed, 6 insertions, 2 deletions
diff --git a/packages/uae/e-uae_0.8.28.bb b/packages/uae/e-uae_0.8.28.bb
index f8f95e846a..388f3ccf54 100644
--- a/packages/uae/e-uae_0.8.28.bb
+++ b/packages/uae/e-uae_0.8.28.bb
@@ -3,7 +3,7 @@ SECTION = "base"
PRIORITY = "optional"
DEPENDS = "virtual/libsdl zlib"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://rcdrummond.net/uae/e-uae-${PV}/e-uae-${PV}.tar.bz2 \
file://configure.patch;patch=1"
@@ -20,6 +20,10 @@ CFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
CXXFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
PARALLEL_MAKE = ""
+export S
+export PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config"
+
do_configure_prepend () {
+ sed -i -e s:getline:etline:g ./src/gui-none/nogui.c
touch NEWS AUTHORS ChangeLog
}
diff --git a/packages/uae/files/configure.patch b/packages/uae/files/configure.patch
index bd2ecce3d7..23df6b93e9 100644
--- a/packages/uae/files/configure.patch
+++ b/packages/uae/files/configure.patch
@@ -5,5 +5,5 @@
export CFLAGS=$CFLAGS_FOR_BUILD
mkdir -p src/tools
- cd src/tools && ../../"$srcdir"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
-+ cd src/tools && "$srcdir"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
++ cd src/tools && "$S"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
fi