aboutsummaryrefslogtreecommitdiffstats
path: root/games/openttd
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-02-17 21:10:25 +0800
committerdanfe <danfe@FreeBSD.org>2010-02-17 21:10:25 +0800
commitde669aa7b2bbbe67fe229d64c1d2f9b301c989ac (patch)
tree3d762e89b861362d0baf708722d37ae4287a6ae4 /games/openttd
parentba4593de9ea3017d5f9c2cbda86ee53408389990 (diff)
downloadfreebsd-ports-gnome-de669aa7b2bbbe67fe229d64c1d2f9b301c989ac.tar.gz
freebsd-ports-gnome-de669aa7b2bbbe67fe229d64c1d2f9b301c989ac.tar.zst
freebsd-ports-gnome-de669aa7b2bbbe67fe229d64c1d2f9b301c989ac.zip
Correct dependencies when building dedicated server only.
Feature safe: yes
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 4ab987409d37..41a3e0602c9f 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -14,9 +14,7 @@ MASTER_SITES= http://gb.binaries.openttd.org/binaries/releases/${PORTVERSION}/ \
MAINTAINER= danfe@FreeBSD.org
COMMENT= An open source clone of Microprose Transport Tycoon Deluxe
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
- freetype.9:${PORTSDIR}/print/freetype2 \
- fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
HAS_CONFIGURE= yes
USE_BZIP2= yes
@@ -38,6 +36,8 @@ CONFIGURE_ARGS+= --with-midi-arg=${WITH_MIDI_PLAYER_ARGS}
.if defined(WITH_DEDICATED_SERVER_ONLY)
CONFIGURE_ARGS+= --enable-dedicated
.else
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 \
+ fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
USE_SDL= sdl
.endif