From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 16 20:00:24 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E8316A41F for ; Sun, 16 Oct 2005 20:00:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2470943D48 for ; Sun, 16 Oct 2005 20:00:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9GK0N1L093372 for ; Sun, 16 Oct 2005 20:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9GK0NeV093368; Sun, 16 Oct 2005 20:00:23 GMT (envelope-from gnats) Resent-Date: Sun, 16 Oct 2005 20:00:23 GMT Resent-Message-Id: <200510162000.j9GK0NeV093368@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Björn König Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B505A16A41F for ; Sun, 16 Oct 2005 19:54:56 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54E5F43D4C for ; Sun, 16 Oct 2005 19:54:56 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-37-245.dynamic.qsc.de [212.202.37.245]) by efacilitas.de (Postfix) with ESMTP id EC9B74AD85; Sun, 16 Oct 2005 22:02:02 +0200 (CEST) Received: from hoppel.local (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with SMTP id 93C0D331FF0; Sun, 16 Oct 2005 21:54:02 +0200 (CEST) Received: by hoppel.local (sSMTP sendmail emulation); Sun, 16 Oct 2005 21:54:02 +0200 Message-Id: <20051016195402.93C0D331FF0@eurystheus.local> Date: Sun, 16 Oct 2005 21:54:02 +0200 From: "Björn König" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: michaels@sdf.lonestar.org Subject: ports/87541: Port audio/emu10kx: change location of snd_emu10kx.ko X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Björn König List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 20:00:24 -0000 >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: