pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/uae Work arround build problem with GCC 3.3....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5705a7b9154f
branches:  trunk
changeset: 461919:5705a7b9154f
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Sep 23 19:05:05 2003 +0000

description:
Work arround build problem with GCC 3.3.1 by disabling the broken assembler
source optimizer.

diffstat:

 emulators/uae/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r a6f1c5c072f9 -r 5705a7b9154f emulators/uae/Makefile
--- a/emulators/uae/Makefile    Tue Sep 23 19:03:56 2003 +0000
+++ b/emulators/uae/Makefile    Tue Sep 23 19:05:05 2003 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index