On 2010/07/17 00:05, Christian Weisgerber wrote:
> What are we going to do with emulators/qemu-old?
>
> It is marked as only for i386 and powerpc. However, it also requires
> gcc3 to build and both of these archs now use gcc4.
>
> Do we simply want to remove the port?
>
> Do we want to build it with gcc3 from ports? That's easy enough,
> diff below. I don't use qemu, though, so I don't know if it actually
> works.
I would suggest this instead to make it absolutely clear what we're
doing. Tested on amd64.
Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu-old/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 8 Jun 2010 01:10:54 -0000 1.2
+++ Makefile 23 Jul 2010 13:07:44 -0000
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.2 2010/06/08 01:10:54 fgsch Exp $
# no success building on other archs yet
-ONLY_FOR_ARCHS= i386 powerpc
+ONLY_FOR_ARCHS= amd64 i386 powerpc
COMMENT= multi system emulator
@@ -20,6 +20,10 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_OPENBSD}
+
+# Incompatible with GCC 4.x
+MODULES= gcc3
+MODGCC3_ARCHES= ${GCC4_ARCHS}
BUILD_DEPENDS= ::textproc/texi2html
USE_GMAKE= Yes