From 4efe99a8e6ef004765faf7d0b2a2e9cb7eb556ed Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 9 Sep 2015 15:58:28 +0000 Subject: - Allow to build on PowerPC by using generic (not GCC-specific) MD support with empty machdep_init() vs. broken "Calibrating delay loop" code; some simple run-time tests, like booting off the kickstart ROM image, did not reveal any problems or performance artifacts - Drop unsupported --enable-sound option (--with-oss-sound is the default, and OSS support is detected correctly) - Remove `files/patch-configure.in' which was added in r76429 by mbr@ back in 2003 to allow UAE to build with GCC 3.x -- does not seem needed these days; consequently replace (deprecated) USE_AUTOTOOLS with GNU_CONFIGURE - Do not patch things in `pre-configure', use `post-patch' target for that - Sort USES values and wrap few overly long lines while I'm here --- emulators/uae/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'emulators/uae/Makefile') diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index 2836ea88b2d5..aa32ff3b3516 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -12,24 +12,23 @@ COMMENT= Commodore Amiga emulator LICENSE= GPLv2 -BROKEN_powerpc= does not compile on powerpc - CONFLICTS= e-uae-[0-9]* MAKE_JOBS_UNSAFE=yes -USES= tar:bzip2 gmake pkgconfig -USE_AUTOTOOLS= autoconf -CONFIGURE_ARGS= --enable-sound +USES= gmake pkgconfig tar:bzip2 +GNU_CONFIGURE= yes USE_GNOME= gtk20 OPTIONS_DEFINE= DOCS -pre-configure: +post-patch: @${REINPLACE_CMD} -e 's|build68kc|build68k|' \ ${WRKSRC}/src/Makefile.in + @${LN} -sf ../md-ppc/support.c ${WRKSRC}/src/md-ppc-gcc/support.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/uae ${WRKSRC}/readdisk ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/uae ${WRKSRC}/readdisk \ + ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AHI @${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes ${INSTALL_DATA} ${WRKSRC}/amiga/mousehack ${STAGEDIR}${DATADIR}/amiga @@ -37,7 +36,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/amiga/transdisk ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/transrom ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uae-control ${STAGEDIR}${DATADIR}/amiga - ${INSTALL_DATA} ${WRKSRC}/amiga/uae-control.info ${STAGEDIR}${DATADIR}/amiga + ${INSTALL_DATA} ${WRKSRC}/amiga/uae-control.info \ + ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uae_rcli ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uaectrl ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/devs/AHI/uae.audio \ @@ -53,6 +53,7 @@ do-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README.PROGRAMMERS ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/unix/README ${STAGEDIR}${DOCSDIR}/README.unix + ${INSTALL_DATA} ${WRKSRC}/docs/unix/README \ + ${STAGEDIR}${DOCSDIR}/README.unix .include -- cgit v1.2.3