summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-10-21 13:53:28 +0000
committerwiz <wiz@pkgsrc.org>2009-10-21 13:53:28 +0000
commit74b34d1a2e2f85ecabc4b70c45d4a619c3563c3d (patch)
tree36f66f48acc0d3ef21ab86ba7fdc04b95d5272ba
parent7d6cefcb4c91e2f52cbd8ed480b451c08f451301 (diff)
downloadpkgsrc-74b34d1a2e2f85ecabc4b70c45d4a619c3563c3d.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.
-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"