summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2007-05-06 17:50:21 +0000
committerjdolecek <jdolecek>2007-05-06 17:50:21 +0000
commita8e460b1d4cbea1194a97870cf16bc1e35c5986a (patch)
tree18d0bd463ff43ede28f77884bcb957daf494e438 /games/openttd
parent6b331ae0cc577e8bcd308320d1acce60b48bf18f (diff)
downloadpkgsrc-a8e460b1d4cbea1194a97870cf16bc1e35c5986a.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/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