summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-22 16:39:14 +0000
committerhasso <hasso@pkgsrc.org>2009-03-22 16:39:14 +0000
commitc05bb725f4246552cca8c6a54399935152e942fa (patch)
treebfe765ef0386779d054ef4a911674d998f88a32a /games
parentfc94a6996178232455fd14c2e1055fffb20f70ad (diff)
downloadpkgsrc-c05bb725f4246552cca8c6a54399935152e942fa.tar.gz
Hack it to build on DragonFly.
Diffstat (limited to 'games')
-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