diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2010-01-25 19:15:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-01-25 19:15:18 +0000 |
commit | 14ac881764759575af0262836b114bc66a99657e (patch) | |
tree | a7e7d123112721b2a5babd136cee15a4432f25e5 /games/warsow | |
parent | e935b9c75650d661139f3fc8612780c824d7ce74 (diff) | |
download | ports-14ac881764759575af0262836b114bc66a99657e.tar.gz ports-14ac881764759575af0262836b114bc66a99657e.zip |
Notes
Diffstat (limited to 'games/warsow')
-rw-r--r-- | games/warsow/Makefile | 3 | ||||
-rw-r--r-- | games/warsow/files/patch-snd_openal_snd_main.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/games/warsow/Makefile b/games/warsow/Makefile index 788f941a57b6..1fbb2ac19fe8 100644 --- a/games/warsow/Makefile +++ b/games/warsow/Makefile @@ -7,6 +7,7 @@ PORTNAME= warsow PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://woe.crying-wolves.net/ \ http://www.derchris.eu/warsow/ \ @@ -83,7 +84,7 @@ PLIST_SUB+= QF="@comment " .endif .if !defined(WITHOUT_OPENAL) -LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal +USE_OPENAL= al ALL_TARGET+= openal PLIST_SUB+= OPENAL="" .else diff --git a/games/warsow/files/patch-snd_openal_snd_main.c b/games/warsow/files/patch-snd_openal_snd_main.c new file mode 100644 index 000000000000..84c1d6ed71b6 --- /dev/null +++ b/games/warsow/files/patch-snd_openal_snd_main.c @@ -0,0 +1,11 @@ +--- ./snd_openal/snd_main.c.orig 2009-12-26 19:07:05.000000000 +0100 ++++ ./snd_openal/snd_main.c 2009-12-26 19:07:13.000000000 +0100 +@@ -231,7 +231,7 @@ + #define ALDRIVER "/System/Library/Frameworks/OpenAL.framework/OpenAL" + #define ALDEVICE_DEFAULT NULL + #else +-#define ALDRIVER "libopenal.so.0" ++#define ALDRIVER "libopenal.so" + #define ALDEVICE_DEFAULT NULL + #endif + |