summaryrefslogtreecommitdiff
path: root/emulators/uae
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-09-23 19:05:05 +0000
committertron <tron@pkgsrc.org>2003-09-23 19:05:05 +0000
commitc831480f5a9d6317e739f44dfcbd42e0cf839cae (patch)
tree267f968e92be61a9755c4b74116eaf3023cfe13f /emulators/uae
parent6e9bb66e4cac00246fbce20589d509c5876f7f8f (diff)
downloadpkgsrc-c831480f5a9d6317e739f44dfcbd42e0cf839cae.tar.gz
Work arround build problem with GCC 3.3.1 by disabling the broken assembler
source optimizer.
Diffstat (limited to 'emulators/uae')
-rw-r--r--emulators/uae/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
index 5f2c5c81be0..9be670f2604 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/07/17 21:36:19 grant Exp $
+# $NetBSD: Makefile,v 1.25 2003/09/23 19:05:05 tron Exp $
DISTNAME= uae-0.8.22
PKGNAME= ${DISTNAME}
@@ -18,6 +18,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-dga --enable-vidmode --disable-ui
+.include "../../mk/bsd.prefs.mk"
+
+post-configure:
+.if ${OPSYS} == NetBSD && defined(HAVE_GCC3) && ${HAVE_GCC3} == yes
+ ${TOUCH} ${WRKSRC}/src/tools/cpuopti.o
+ ${CP} ${CAT} ${WRKSRC}/src/tools/cpuopti
+.endif
+
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uae