Date: Tue, 29 Aug 2006 00:45:15 +0200 From: Juergen Lock <nox@jelal.kn-bremen.de> To: Pav Lucistnik <pav@FreeBSD.org> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/101286: emulators/kqemu-kmod install kld to /boot/modules ... Message-ID: <20060828224515.GA19866@saturn.kn-bremen.de> In-Reply-To: <200608281632.k7SGWGD9032236@freefall.freebsd.org> References: <200608281632.k7SGWGD9032236@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 28, 2006 at 04:32:16PM +0000, Pav Lucistnik wrote: > Synopsis: emulators/kqemu-kmod install kld to /boot/modules ... > > State-Changed-From-To: open->feedback > State-Changed-By: pav > State-Changed-When: Mon Aug 28 16:31:56 UTC 2006 > State-Changed-Why: > This is missing kldxref call on deinstall, leaving linker.hints behind. > Please fix. Indeed... fixed below: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/kqemu-kmod/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 24 Jun 2006 09:39:19 -0000 1.7 +++ Makefile 28 Aug 2006 22:35:04 -0000 @@ -7,8 +7,9 @@ PORTNAME= kqemu PORTVERSION= 1.3.0.p9 +PORTREVISION= 1 CATEGORIES= emulators -MASTER_SITES= http://fabrice.bellard.free.fr/qemu/ +MASTER_SITES= http://qemu.org/ PKGNAMESUFFIX= -kmod DISTNAME= ${PORTNAME}-${PORTVERSION:C/.p/pre/} DIST_SUBDIR= kqemu @@ -19,14 +20,23 @@ ONLY_FOR_ARCHS= i386 amd64 NO_PACKAGE= Depends on kernel, and module not redistributable +.include <bsd.port.pre.mk> + PLIST_FILES= "include/kqemu/kqemu.h" PLIST_FILES+= "@dirrm include/kqemu" PLIST_FILES+= "@cwd /" PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko +.if ${OSVERSION} >= 500000 +PLIST_FILES+= "@unexec kldxref ${KMODDIR}" +.endif MAKEFILE= Makefile.freebsd -.include <bsd.port.pre.mk> +# install where x11/nvidia-driver does also: +.if ${OSVERSION} >= 500000 +KMODDIR= /boot/modules +.endif + MAKE_ENV+= KMODDIR="${KMODDIR}" .if !exists(${SRC_BASE}/sys/Makefile) Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/emulators/kqemu-kmod/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 31 Oct 2005 13:42:20 -0000 1.1 +++ pkg-descr 2 Aug 2006 21:41:26 -0000 @@ -1,3 +1,3 @@ KQEMU is a qemu accelerator kernel module on x86/amd64. -WWW: http://fabrice.bellard.free.fr/qemu/qemu-accel.html +WWW: http://qemu.org/qemu-accel.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060828224515.GA19866>