Date: Mon, 5 Mar 2007 12:07:08 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/109914: [audio/libao] Store configuration file in ${PREFIX}/etc Message-ID: <20070305110708.D11D01CC5A@palm.hoeg.nl> Resent-Message-ID: <200703051110.l25BA4Sx038351@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109914 >Category: ports >Synopsis: [audio/libao] Store configuration file in ${PREFIX}/etc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 05 11:10:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Feb 11 22:32:09 CET 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: libao has the ability to read a configuration file, libao.conf, which can contain the default driver name it should use. At this moment, this file must be stored in /etc, while we should store it in /usr/local/etc. >How-To-Repeat: n/a >Fix: This patch replaces /etc/libao.conf with ${PREFIX}/etc/libao.conf in all source code and documentation that is installed on the system: --- audio/libao/Makefile Sun Jan 28 10:07:34 2007 +++ audio/libao/Makefile Mon Mar 5 12:02:53 2007 @@ -59,4 +59,9 @@ PLIST_SUB+= ESOUND="@comment " .endif +post-patch: + @${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \ + ${WRKSRC}/libao.conf.5 ${WRKSRC}/src/ao_private.h \ + ${WRKSRC}/doc/config.html + .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070305110708.D11D01CC5A>