pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/wesnoth On NetBSD-4.0, the included make doesn't...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/247062e46779
branches:  trunk
changeset: 400495:247062e46779
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Oct 21 13:53:28 2009 +0000

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

 games/wesnoth/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6d1821c2094a -r 247062e46779 games/wesnoth/Makefile
--- a/games/wesnoth/Makefile    Wed Oct 21 11:33:32 2009 +0000
+++ b/games/wesnoth/Makefile    Wed Oct 21 13:53:28 2009 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index