pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openttd Hack it to build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe0457226d7c
branches:  trunk
changeset: 556536:fe0457226d7c
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Sun Mar 22 16:39:14 2009 +0000

description:
Hack it to build on DragonFly.

diffstat:

 games/openttd/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a841f00296c9 -r fe0457226d7c games/openttd/Makefile
--- a/games/openttd/Makefile    Sun Mar 22 16:33:26 2009 +0000
+++ b/games/openttd/Makefile    Sun Mar 22 16:39:14 2009 +0000
@@ -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+=       --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
 



Home | Main Index | Thread Index | Old Index