summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhasso <hasso>2009-03-22 16:39:14 +0000
committerhasso <hasso>2009-03-22 16:39:14 +0000
commitd32a62ded2881bda34a9f0bb132cc1bc109455d6 (patch)
treebfe765ef0386779d054ef4a911674d998f88a32a /games
parent55eca3dc77f2b01f067c3409eedb5ff0f3d7f13d (diff)
downloadpkgsrc-d32a62ded2881bda34a9f0bb132cc1bc109455d6.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