diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2007-05-06 17:50:21 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2007-05-06 17:50:21 +0000 |
commit | b224c02c5e412a1abb32a16b03901b95337f9bb7 (patch) | |
tree | 18d0bd463ff43ede28f77884bcb957daf494e438 /games/openttd | |
parent | 4c43e5e3435bf2215446b47a9d705eba83ac2d9c (diff) | |
download | pkgsrc-b224c02c5e412a1abb32a16b03901b95337f9bb7.tar.gz |
make assert no-op for Mac OS X, mainly to stop openttd error() emit
an assertion failure
bump pkg revision for this change and the fix to Mac OS lookup of language
files
Diffstat (limited to 'games/openttd')
-rw-r--r-- | games/openttd/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile index 6b713d2dcae..e58ac87600e 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2007/04/25 07:32:48 tnn Exp $ +# $NetBSD: Makefile,v 1.22 2007/05/06 17:50:21 jdolecek Exp $ DISTNAME= openttd-0.5.1-source PKGNAME= openttd-0.5.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/} @@ -25,6 +25,9 @@ MAKE_ENV+= PERSONAL_DIR=.openttd MAKE_ENV+= WITH_NETWORK=1 MAKE_ENV+= X11BASE=${X11BASE:Q} +# disable custom assert for Mac OS X +CFLAGS+= -DNDEBUG=1 + WRKSRC= ${WRKDIR}/${DISTNAME:S:-source::} INSTALLATION_DIRS= bin |