aboutsummaryrefslogtreecommitdiff
path: root/games/openarena/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'games/openarena/Makefile.include')
-rw-r--r--games/openarena/Makefile.include6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/openarena/Makefile.include b/games/openarena/Makefile.include
index a0a0b848c472..46855f21953b 100644
--- a/games/openarena/Makefile.include
+++ b/games/openarena/Makefile.include
@@ -12,12 +12,10 @@ RUN_DEPENDS+= ${OABIN}:${PORTSDIR}/games/openarena
.include <bsd.port.pre.mk>
# You only need server or client.
-.if exists(${PREFIX}/bin/oa_ded)
+.if exists(${LOCALBASE}/bin/oa_ded)
OABIN= oa_ded
-.elif exists(${PREFIX}/bin/openarena)
+.elif exists(${LOCALBASE}/bin/openarena)
OABIN= openarena
.else
OABIN= openarena-smp
.endif
-
-.include <bsd.port.post.mk>