summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz>2009-10-21 13:53:28 +0000
committerwiz <wiz>2009-10-21 13:53:28 +0000
commitf75229a00b234f59ebe61c890e139432ebe998ce (patch)
tree36f66f48acc0d3ef21ab86ba7fdc04b95d5272ba /games
parentf2d431110d5ffe041a57b625d54194397304fd93 (diff)
downloadpkgsrc-f75229a00b234f59ebe61c890e139432ebe998ce.tar.gz
On NetBSD-4.0, the included make doesn't cope with some of the
dependency lines autogenerated by wesnoth. Use gmake instead. From Robert Elz in PR 41941.
Diffstat (limited to 'games')
-rw-r--r--games/wesnoth/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index e106eb663cc..93b20349945 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2009/08/26 19:57:34 sno Exp $
+# $NetBSD: Makefile,v 1.56 2009/10/21 13:53:28 wiz Exp $
DISTNAME= wesnoth-1.6.4
PKGREVISION= 1
@@ -60,6 +60,11 @@ REPLACE_RUBY+= utils/stats/website/public/dispatch.rb
REPLACE_SH+= data/tools/castle-cutter/mk-castle.sh
REPLACE_SH+= data/tools/castle-cutter/mk-all-castles.sh
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.*)
+USE_TOOLS+= gmake
+.endif
+
BUILDLINK_API_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.5nb3
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"