diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/uae/e-uae_0.8.28.bb | 6 | ||||
-rw-r--r-- | packages/uae/files/configure.patch | 2 |
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 |