summaryrefslogtreecommitdiff
path: root/games/acm
diff options
context:
space:
mode:
Diffstat (limited to 'games/acm')
-rw-r--r--games/acm/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index ddb5dca8faf7..8b6339b5d0e7 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -20,9 +20,8 @@ MAN6= acm.6
.include <bsd.port.pre.mk>
# Include sound support (Use network audio server (nas))
-.if defined(USE_SOUND) && ${USE_SOUND} == YES || \
- exists(${PREFIX}/lib/libaudio.a) && \
- (!defined(USE_SOUND) || ${USE_SOUND} != NO)
+.if defined(WITH_SOUND) || (exists(${PREFIX}/lib/libaudio.a) \
+ && !defined(WITHOUT_SOUND))
LIB_DEPENDS+= audio.7:${PORTSDIR}/audio/nas
.endif