From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 29 23:32:35 2005 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD9416A41F; Sat, 29 Oct 2005 23:32:35 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6CD43D4C; Sat, 29 Oct 2005 23:32:34 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with ESMTP id j9TNWVpV043566; Sun, 30 Oct 2005 08:32:33 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 30 Oct 2005 08:32:31 +0900 From: Norikatsu Shigemura To: Juergen Lock Message-Id: <20051030083231.bc207520.nork@FreeBSD.org> In-Reply-To: <20051029185103.GA80501@saturn.kn-bremen.de> References: <20051025215759.25681b85.nork@FreeBSD.org> <20051025191141.GC7277@saturn.kn-bremen.de> <20051026224401.3acf2501.nork@FreeBSD.org> <20051029111159.b1e06be9.nork@FreeBSD.org> <20051029185103.GA80501@saturn.kn-bremen.de> X-Mailer: Sylpheed version 2.1.4 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.121]); Sun, 30 Oct 2005 08:32:33 +0900 (JST) Cc: freebsd-emulation@FreeBSD.org, nork@FreeBSD.org, jkim@FreeBSD.org Subject: Re: kqemu-kmod port X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 23:32:35 -0000 On Sat, 29 Oct 2005 20:51:03 +0200 Juergen Lock wrote: > > > > Err. You may be able to build the kld seperately like that, but the > > > > qemu build also needs the kqemu bits in place in the build dir to add in > > > > kqemu support... So if you remove it from the qemu port the kld wont > > > > get used. > > > $ grep -r kqemu . > > > ./kqemu.c:#include "kqemu/kqemu.h" > > REVENGE > Eh? :) Skip it:-). > > overrided: my kqemu-kmod port > > http://people.freebsd.org/~nork/kqemu-kmod.shar > > Please reget my shar file. > > And I made a patch for qemu port. How about? > Well, three changes: > 1. use the old disfile, Fabrice still hasn't committed anything new > (the copy on dad-answers.com is only there for one day each) > 2. CFLAGS+= -I${LOCALBASE}/include doesn't get propagated to the build > at least here, need to patch Makefile.target instead Agree. > 3. need ${WRKSRC}/kqemu/Makefile.freebsd instead of ${WRKSRC}/kqemu/Makefile Why? According to qemu/configure, ${WRKSRC}/kqemu/Makefile is needed instead of ${WRKSRC}/kqemu/Makefile.freebsd. - - - - - - - - - - - - - - - - - - - - in qemu/configure #375 # kqemu support if test $kqemu = "yes" ; then # test if the source code is installed if test '!' -f "kqemu/Makefile" ; then kqemu="no" fi fi - - - - - - - - - - - - - - - - - - - - > -MASTER_SITES= http://www.qemu.org/ \ > - http://people.fruitsalad.org/nox/qemu/ \ > - http://dad-answers.com/qemu/ > +MASTER_SITES= http://people.fruitsalad.org/nox/qemu/ \ > + http://qemu.dad-answers.com/download/qemu/ > DISTNAME= ${PORTNAME}-snapshot-2005-09-09_23 Humm... How about following lines? - - - - - - - - - - - - - - - - - - - - MASTER_SITES= http://www.qemu.org/:release \ http://people.fruitsalad.org/nox/qemu/:snapshot \ http://qemu.dad-answers.com/download/qemu/:snapshot DISTFILES= ${PORTNAME}-snapshot-2005-09-09_23${EXTRACT_SUFX}:snapshot - - - - - - - - - - - - - - - - - - - - You can replace :snapshot to :release, if new qemu is released.