summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 055a175fb0e..f687c23d81c 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2008/12/14 01:31:01 ahoka Exp $
+# $NetBSD: Makefile,v 1.31 2009/03/22 16:39:14 hasso Exp $
DISTNAME= openttd-0.6.3-source
PKGNAME= ${DISTNAME:S/-source//}
@@ -24,6 +24,11 @@ CONFIGURE_ARGS+= --binary-dir=bin
CONFIGURE_ARGS+= --data-dir=share/openttd
CONFIGURE_ARGS+= --man-dir=${PKGMANDIR}/man6
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "DragonFly")
+CONFIGURE_ARGS+= --os=FREEBSD
+.endif
+
# disable custom assert for Mac OS X (XXX: still needed?)
CFLAGS+= -DNDEBUG=1