summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-09-08 15:27:31 +0000
committerxtraeme <xtraeme>2006-09-08 15:27:31 +0000
commitbf8ed3a4864076dc8d9768d3e0556e6a312691ec (patch)
treef99aa19fc1bd4349ab2d89cdc5ad87ce427c6d55 /emulators/qemu
parent3245667f8e64dfa9cfff7d03914c2f2182be3e6f (diff)
downloadpkgsrc-bf8ed3a4864076dc8d9768d3e0556e6a312691ec.tar.gz
NetBSD >= 4.0 needs to depend on lang/gcc34 and USE_PKGSRC_GCC.
If your system uses gcc4, put it on this conditional. At this moment this is the only way to build qemu... maybe jlam or someone will fix it soon.
Diffstat (limited to 'emulators/qemu')
-rw-r--r--emulators/qemu/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 6cfb0c5bff1..056a5eed056 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2006/09/05 00:44:38 xtraeme Exp $
+# $NetBSD: Makefile,v 1.36 2006/09/08 15:27:31 xtraeme Exp $
#
DISTNAME= qemu-0.8.2
@@ -15,8 +15,15 @@ NOT_FOR_PLATFORM= NetBSD-1.[0-6]*-*
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
GCC_REQD+= 3.0
+.if !empty(OPSYS:NetBSD-4*)
+GCC_REQD+= 3.4
+USE_PKGSRC_GCC= yes
+.endif
+
CONFIGURE_ENV+= PKGMANDIR=${PKGMANDIR}
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --interp-prefix=${PREFIX:Q}/share/qemu
@@ -40,8 +47,6 @@ BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4*)
-GCC_REQD+= 3.4
-USE_PKGSRC_GCC= yes
CONFIGURE_ARGS+= --disable-gcc-check
.endif