aboutsummaryrefslogtreecommitdiffstats
path: root/games/warsow
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-12-26 07:29:34 +0800
committerantoine <antoine@FreeBSD.org>2013-12-26 07:29:34 +0800
commitfc17e550eddef887d6e1b70a8e7fc9f06056b731 (patch)
tree5d26acd476642c3b773f75db8040205ff9dc4d29 /games/warsow
parent4c3b90b6bb5bdc235ec60ac72877f1ee418fe1cd (diff)
downloadfreebsd-ports-gnome-fc17e550eddef887d6e1b70a8e7fc9f06056b731.tar.gz
freebsd-ports-gnome-fc17e550eddef887d6e1b70a8e7fc9f06056b731.tar.zst
freebsd-ports-gnome-fc17e550eddef887d6e1b70a8e7fc9f06056b731.zip
Convert the tree to USES=openal
Approved by: portmgr (bapt)
Diffstat (limited to 'games/warsow')
-rw-r--r--games/warsow/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/warsow/Makefile b/games/warsow/Makefile
index a2f1056be955..5cd0ba21400b 100644
--- a/games/warsow/Makefile
+++ b/games/warsow/Makefile
@@ -40,6 +40,9 @@ OPENAL_DESC= Build OpenAL sound module
IRC_DESC= Build IRC client module
TV_SRV_DESC= Build Warsow TV server
+# USES needs to be before bsd.port.pre.mk
+OPENAL_USES= openal:al
+
NO_STAGE= yes
.include <bsd.port.pre.mk>
@@ -63,7 +66,6 @@ PLIST_FILES+= %%DATADIR%%/libs/snd_qf_${ARCH}.so
. endif
. if ${PORT_OPTIONS:MOPENAL}
-USE_OPENAL= al
ALL_TARGET+= openal
PLIST_FILES+= %%DATADIR%%/libs/snd_openal_${ARCH}.so
. endif