diff options
author | maho <maho@FreeBSD.org> | 2005-12-31 08:12:20 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2005-12-31 08:12:20 +0800 |
commit | d3aea2a255e414eecaf9382f5855d6ad13b26320 (patch) | |
tree | e69442d4657b97a9bbfc317a8642ca06c26845bb /emulators/qemu | |
parent | 0e4dddae98c2c46c6f6904607b57ce63f387ddaf (diff) | |
download | freebsd-ports-gnome-d3aea2a255e414eecaf9382f5855d6ad13b26320.tar.gz freebsd-ports-gnome-d3aea2a255e414eecaf9382f5855d6ad13b26320.tar.zst freebsd-ports-gnome-d3aea2a255e414eecaf9382f5855d6ad13b26320.zip |
Add a knob WITH_HACKS. we now have IDE Bus-master DMA Support.
(However, this will break existing Windows 2000 or XP installations).
Approved by: maintainer
Diffstat (limited to 'emulators/qemu')
-rw-r--r-- | emulators/qemu/Makefile | 18 | ||||
-rw-r--r-- | emulators/qemu/distinfo | 9 |
2 files changed, 23 insertions, 4 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 74bf2975086e..c4e701205973 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -12,8 +12,14 @@ CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/:release \ http://people.fruitsalad.org/nox/qemu/:snapshot \ http://www.volny.cz/xnavara/qemu/:snapshot \ - http://qemu.dad-answers.com/download/qemu/:snapshot + http://qemu.dad-answers.com/download/qemu/:snapshot \ + http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release +.if defined (WITH_HACKS) +DISTFILES+= qemu_dma_patch.tar.gz:idedma +.endif +DIST_SUBDIR= qemu +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nox@jelal.kn-bremen.de COMMENT= QEMU CPU Emulator @@ -54,6 +60,11 @@ pre-everything:: @${ECHO_MSG} "Notice: you can build qemu with the (alpha!) kqemu accelerator kernel module" @${ECHO_MSG} "by defining WITH_KQEMU." .endif +.if !defined(WITH_HACKS) + @${ECHO_MSG} "You can build qemu with some hacks (esp. for speedup)" + @${ECHO_MSG} "by defining WITH_HACKS." + @${ECHO_MSG} "1. IDE Bus-master DMA Support by John Coiner" +.endif .if !defined(WITH_SAMBA) && !exists(${LOCALBASE}/sbin/smbd) @${ECHO_MSG} "Notice: if you need qemu's -smb option (smb-export local dir to guest)" @${ECHO_MSG} "then you also need samba, you can have this port install it by defining" @@ -70,6 +81,11 @@ pre-patch: ${MKDIR} ${WRKSRC}/bsd/$$A; \ done +post-patch: +.if defined(WITH_HACKS) + @cd ${WRKDIR} ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/qemu_dma_patch.tar.gz ; ${CP} new_qemu_dma_patch/bios.bin ${WRKSRC}/pc-bios; cd ${WRKSRC}; ${PATCH} -p1 < ../new_qemu_dma_patch/qemu-piix4-udma.patch +.endif + post-install: @${CAT} ${PKGMESSAGE} diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo index fc978c5d5f4e..57c380becdc7 100644 --- a/emulators/qemu/distinfo +++ b/emulators/qemu/distinfo @@ -1,3 +1,6 @@ -MD5 (qemu-0.8.0.tar.gz) = eb175b26583280706fe7e4d8910d320d -SHA256 (qemu-0.8.0.tar.gz) = de388539ce86971a2cbe8474fca8b6160898c95772e3e6e08a7794d48db32a61 -SIZE (qemu-0.8.0.tar.gz) = 1497965 +MD5 (qemu/qemu-0.8.0.tar.gz) = eb175b26583280706fe7e4d8910d320d +SHA256 (qemu/qemu-0.8.0.tar.gz) = de388539ce86971a2cbe8474fca8b6160898c95772e3e6e08a7794d48db32a61 +SIZE (qemu/qemu-0.8.0.tar.gz) = 1497965 +MD5 (qemu/qemu_dma_patch.tar.gz) = 5e339dc201d411af56bad684d3f89338 +SHA256 (qemu/qemu_dma_patch.tar.gz) = cdf74bf5e079d835e100f116d940686b13ec2b7ed6aee5a6a97a4441ea5f2b8f +SIZE (qemu/qemu_dma_patch.tar.gz) = 25837 |