Date: Sun, 16 Oct 2005 21:54:02 +0200 From: "Björn König" <bkoenig@cs.tu-berlin.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: michaels@sdf.lonestar.org Subject: ports/87541: Port audio/emu10kx: change location of snd_emu10kx.ko Message-ID: <20051016195402.93C0D331FF0@eurystheus.local> Resent-Message-ID: <200510162000.j9GK0NeV093368@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87541 >Category: ports >Synopsis: Port audio/emu10kx: change location of snd_emu10kx.ko >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 16 20:00:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Björn König >Release: FreeBSD 6.0-RC1 i386 >Organization: >Environment: >Description: The port 'audio/emu10kx' installs a kernel module in /boot/kernel. This location might be problematic insofar as the installation of a new kernel moves the file snd_emu10kx.ko to /boot/kernel.old. This requires the interaction of the user to ensure that sound will work after installing a new kernel or make a clean deinstallation of the module possible. >How-To-Repeat: >Fix: The patch below effects that the kernel module of this port will be installed in the more designated location /boot/modules. --- emu10kx.diff begins here --- --- Makefile.orig Thu Oct 13 12:55:46 2005 +++ Makefile Thu Oct 13 12:57:22 2005 @@ -22,6 +22,9 @@ PLIST_FILES= sbin/emuctrl WRKSRC= ${WRKDIR}/${DISTNAME}a +do-install: + @${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -DMODULES_WITH_WORLD install + post-install: .if !defined(BATCH) && !defined(PACKAGE_BUILDING) @${PKGINSTALL} ${PKGNAME} POST-INSTALL --- pkg-deinstall.orig Thu Oct 13 12:53:46 2005 +++ pkg-deinstall Thu Oct 13 12:55:00 2005 @@ -19,7 +19,7 @@ fi # Remove the driver -rm /boot/kernel/$DRIVERNAME.ko +rm /boot/modules/$DRIVERNAME.ko # Remove the driver from loader.conf grep ${DRIVERNAME}_load /boot/loader.conf > /dev/null 2>&1; RESULT=$? --- emu10kx.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051016195402.93C0D331FF0>