From a05cabe4d4df8a2a4f6b5d89c67b5d662fc21279 Mon Sep 17 00:00:00 2001 From: mbr Date: Mon, 24 Feb 2003 23:54:29 +0000 Subject: Allow UAE to build with gcc3.x. Respect CFLAGS, use AUTOCONF. PR: 46644 Submitted by: Keith Jones --- emulators/uae/Makefile | 5 +++-- emulators/uae/files/patch-aa | 20 -------------------- emulators/uae/files/patch-configure.in | 13 +++++++++++++ emulators/uae/files/patch-src+Makefile.in | 15 +++++++++++++++ 4 files changed, 31 insertions(+), 22 deletions(-) delete mode 100644 emulators/uae/files/patch-aa create mode 100644 emulators/uae/files/patch-configure.in create mode 100644 emulators/uae/files/patch-src+Makefile.in (limited to 'emulators') diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index f5a9c89414e9..02f05b40bfda 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -7,6 +7,7 @@ PORTNAME= uae PORTVERSION= 0.8.22 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/ @@ -15,18 +16,18 @@ COMMENT= Amiga emulator USE_GMAKE= yes GNU_CONFIGURE= yes +USE_AUTOCONF= yes CONFIGURE_ARGS= --enable-sound --enable-vidmode --enable-dga USE_XLIB= yes USE_GNOMENG= yes USE_GNOME= gtk12 USE_REINPLACE= yes -USE_GCC= 2.95 CFLAGS+= ${PTHREAD_CFLAGS} pre-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/uae ${PREFIX}/bin diff --git a/emulators/uae/files/patch-aa b/emulators/uae/files/patch-aa deleted file mode 100644 index 03f8aba0a1db..000000000000 --- a/emulators/uae/files/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.orig Tue Aug 15 16:01:31 2000 -+++ configure Sun Sep 17 08:48:28 2000 -@@ -5121,7 +5121,7 @@ - echo "configure:5122: checking for pthread library" >&5 - TMP_SAVE_CFLAGS=$CFLAGS - TMP_SAVE_LIBS=$LIBS --LIBS="$LIBS -lpthread" -+LIBS="$LIBS -pthread" - cat > conftest.$ac_ext <$@ +- rm cputmp.s ++cpufast.s: cpuemu.c ++ $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(NO_SCHED_CFLAGS) $< -o $@ + + console_missing.o: missing.c + $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $(CFLAGS_$@) $< -o $@ -- cgit