diff options
author | hasso <hasso@pkgsrc.org> | 2009-03-22 16:39:14 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-03-22 16:39:14 +0000 |
commit | c05bb725f4246552cca8c6a54399935152e942fa (patch) | |
tree | bfe765ef0386779d054ef4a911674d998f88a32a | |
parent | fc94a6996178232455fd14c2e1055fffb20f70ad (diff) | |
download | pkgsrc-c05bb725f4246552cca8c6a54399935152e942fa.tar.gz |
Hack it to build on DragonFly.
-rw-r--r-- | games/openttd/Makefile | 7 |
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 |