ports/109914: [audio/libao] Store configuration file in ${PREFIX}/etc
Ed Schouten
ed at fxq.nl
Mon Mar 5 11:10:05 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list