ports/150744: [patch] audio/openal: install alsoftrc.sample
Anonymous
swell.k at gmail.com
Mon Sep 20 03:40:01 UTC 2010
>Number: 150744
>Category: ports
>Synopsis: [patch] audio/openal: install alsoftrc.sample
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 20 03:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: audio/openal-soft/Makefile
===================================================================
RCS file: /a/.cvsup/ports/audio/openal-soft/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- audio/openal-soft/Makefile 1 Apr 2010 17:00:49 -0000 1.10
+++ audio/openal-soft/Makefile 20 Sep 2010 03:23:36 -0000
@@ -20,7 +20,10 @@ USE_CMAKE= yes
USE_LDCONFIG= yes
CMAKE_USE_PTHREAD= yes
CMAKE_ARGS+= -DALSA:BOOL=OFF -DPORTAUDIO:BOOL=OFF -DSOLARIS:BOOL=OFF \
- -DDSOUND:BOOL=OFF
+ -DDSOUND:BOOL=OFF -DALSOFT_CONFIG:BOOL=ON
+
+ETCDIR_REL= etc/openal
+PLIST_SUB= VERSION=${PORTVERSION}
OPTIONS= PULSEAUDIO "Enable sound streaming using PulseAudio" off
@@ -35,4 +38,9 @@ CMAKE_ARGS+= -DPULSEAUDIO:BOOL=ON
CMAKE_ARGS+= -DPULSEAUDIO:BOOL=OFF
.endif
+post-patch: .SILENT
+ ${REINPLACE_CMD} '/RENAME/d; s|/etc|${PREFIX}&|' \
+ ${WRKSRC}/Alc/alcConfig.c \
+ ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.post.mk>
Index: audio/openal-soft/pkg-plist
===================================================================
RCS file: /a/.cvsup/ports/audio/openal-soft/pkg-plist,v
retrieving revision 1.8
diff -u -p -r1.8 pkg-plist
--- audio/openal-soft/pkg-plist 1 Apr 2010 17:00:50 -0000 1.8
+++ audio/openal-soft/pkg-plist 20 Sep 2010 03:21:46 -0000
@@ -1,10 +1,12 @@
bin/openal-info
+%%ETCDIR%%/alsoftrc.sample
include/AL/al.h
include/AL/alc.h
include/AL/alext.h
include/AL/efx.h
-lib/libopenal.so.1.12.854
+lib/libopenal.so.%%VERSION%%
lib/libopenal.so.1
lib/libopenal.so
libdata/pkgconfig/openal.pc
@dirrmtry include/AL
+ at dirrmtry %%ETCDIR%%
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list