From c05bb725f4246552cca8c6a54399935152e942fa Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 22 Mar 2009 16:39:14 +0000 Subject: Hack it to build on DragonFly. --- games/openttd/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'games') 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 -- cgit v1.2.3