summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-05-06 17:50:21 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-05-06 17:50:21 +0000
commit8914970348446694112961f7d30ce3f52d8e50f5 (patch)
tree18d0bd463ff43ede28f77884bcb957daf494e438 /games
parent8ccf1f60740437c68da7b4a43e2a223c61af9bb5 (diff)
downloadpkgsrc-8914970348446694112961f7d30ce3f52d8e50f5.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')
-rw-r--r--games/openttd/Makefile7
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