+--- tmp/base/uae-0.8.23-20040129-r0/uae-0.8.23-20040129/configure.in 2004-01-29 00:38:18.000000000 -0500
++++ uae-0.8.23-20040129/configure.in 2004-03-05 17:26:12.000000000 -0500
+@@ -1032,5 +1032,5 @@
+ export CC=$CC_FOR_BUILD
+ 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
+ fi
+DESCRIPTION="Amiga Emulator based on SDL"
+SECTION="base"
+PRIORITY="optional"
+RDEPENDS="libc6 libsdl-qpe"
+DEPENDS=virtual/libc libsdl-qpe
+
+SRC_URI = http://rcdrummond.net/${PN}/${P}/${P}.tar.bz2 \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/m4.patch;patch=1
+
+inherit autotools libtool
+
+EXTRA_OECONF = "--with-hostcc=gcc --disable-ui --without-x \
+ --without-gtk --enable-jit --disable-natmem \
+ --with-zlib=${STAGING_LIBDIR}/.. \
+ --with-sdl-exec-prefix=${STAGING_BINDIR}/.. \
+ --with-sdl-prefix=${STAGING_LIBDIR}/.."
+
+CFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
+CXXFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
+
+do_configure_prepend () {
+ touch NEWS AUTHORS ChangeLog
+}
+
+do_install_append() {
+# Packages NEVER, ever, ever, ever touch home directories directly.
+# ever.
+# Either update a global config in /etc, install it into /etc/skel/ for
+# new users homedirs, rely on the user installing it to put it in place,
+# or dont install it at all. --CL
+# install -d ${D}/home/root
+# install ${FILESDIR}/uaerc ${D}/home/root/.uaerc
+}