pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/qemu NetBSD >= 4.0 needs to depend on lang/g...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5e6b9e51f5c
branches:  trunk
changeset: 518408:b5e6b9e51f5c
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Sep 08 15:27:31 2006 +0000

description:
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:

 emulators/qemu/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 4ad290bdf753 -r b5e6b9e51f5c emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Fri Sep 08 13:11:40 2006 +0000
+++ b/emulators/qemu/Makefile   Fri Sep 08 15:27:31 2006 +0000
@@ -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 @@
 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 @@
 .include "../../mk/compiler.mk"
 
 .if !empty(CC_VERSION:Mgcc-4*)
-GCC_REQD+=             3.4
-USE_PKGSRC_GCC=                yes
 CONFIGURE_ARGS+=       --disable-gcc-check
 .endif
 



Home | Main Index | Thread Index | Old Index