# New ports collection makefile for: qemu # Date created: 2004/05/31 # Whom: Juergen Lock # # $FreeBSD$ # PORTNAME= qemu PORTVERSION= 0.6.2s.20050305 CATEGORIES= emulators MASTER_SITES= http://people.fruitsalad.org/nox/qemu/ \ http://dad-answers.com/qemu/ DISTNAME= ${PORTNAME}-snapshot-2005-03-05_23 MAINTAINER= nox@jelal.kn-bremen.de COMMENT= QEMU CPU Emulator BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html RUN_DEPENDS+= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/net/samba HAS_CONFIGURE= yes USE_BZIP2= yes USE_GMAKE= yes USE_GETOPT_LONG= yes USE_SDL= sdl USE_PERL5= yes PATCH_STRIP= -p1 CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC}\ -I${PREFIX}/include MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= i386 amd64 powerpc # gcc34 (system cc on 5.x now) has problems with qemu on amd64 # (doesnt build target-i386/op.c), try the one in ports which is newer .include .if ${ARCH} == "amd64" && ${OSVERSION} >= 502126 BROKEN= Does not compile CC= gcc34 CXX= g++34 BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 GCCVERSION= 030402 .else USE_GCC= 3.4 .endif post-install: @${CAT} ${PKGMESSAGE} .include