Date: Sun, 30 Oct 2005 08:32:31 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: freebsd-emulation@FreeBSD.org, nork@FreeBSD.org, jkim@FreeBSD.org Subject: Re: kqemu-kmod port 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Oct 2005 20:51:03 +0200 Juergen Lock <nox@jelal.kn-bremen.de> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051030083231.bc207520.nork>