pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/openttd make assert no-op for Mac OS X, mainly t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6124ede1a89
branches:  trunk
changeset: 528530:c6124ede1a89
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun May 06 17:50:21 2007 +0000

description:
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:

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

diffs (24 lines):

diff -r e3c72fb1c287 -r c6124ede1a89 games/openttd/Makefile
--- a/games/openttd/Makefile    Sun May 06 17:47:35 2007 +0000
+++ b/games/openttd/Makefile    Sun May 06 17:50:21 2007 +0000
@@ -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+=     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



Home | Main Index | Thread Index | Old Index