diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2010-09-20 21:36:29 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2010-09-20 21:36:29 +0000 |
commit | 1512448ae3e703d35a640951f4c3513cb708dd1d (patch) | |
tree | 811730364061e08da9dc8db55a51085abfcae0d9 /audio/openal-soft/Makefile | |
parent | f24e4fd9508eb3fd2cc90b0cfaa4eb519773d749 (diff) | |
download | ports-1512448ae3e703d35a640951f4c3513cb708dd1d.tar.gz ports-1512448ae3e703d35a640951f4c3513cb708dd1d.zip |
Notes
Diffstat (limited to 'audio/openal-soft/Makefile')
-rw-r--r-- | audio/openal-soft/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile index bd72677254a9..da6097beec4a 100644 --- a/audio/openal-soft/Makefile +++ b/audio/openal-soft/Makefile @@ -7,6 +7,7 @@ PORTNAME= openal-soft PORTVERSION= 1.12.854 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://kcat.strangesoft.net/openal-releases/ @@ -20,7 +21,7 @@ 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 OPTIONS= PULSEAUDIO "Enable sound streaming using PulseAudio" off @@ -35,4 +36,11 @@ CMAKE_ARGS+= -DPULSEAUDIO:BOOL=ON CMAKE_ARGS+= -DPULSEAUDIO:BOOL=OFF .endif +.post-patch: + @${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \ + ${WRKSRC}/Alc/alcConfig.c \ + ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} 's|alsoft.conf|alsoft.conf.sample|' \ + ${WRKSRC}/CMakeLists.txt + .include <bsd.port.post.mk> |