NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41941: games/wesnoth - core dump from make, NetBSD 4.0
The following reply was made to PR bin/41941; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/41941: games/wesnoth - core dump from make, NetBSD 4.0
Date: Mon, 19 Oct 2009 20:24:32 +0700
OK, with the patch below (suggested by David Holland) games/wesnoth
now builds correctly on NetBSD 4.0 (same would be needed for 4.0.1).
This is good enough for me, if someone commits this patch, please
close the PR.
If you desire, you can change the OS_VERSION test to apply only to
4.0 and 4.0.1 rather than all 4.* - but as there will probably never
be any other 4.* for that to apply to (and as this should work there
anyway, even if it isn't needed) it hardly seems worth the bother.
kre
--- Makefile.ORIG 2009-08-27 15:41:32.000000000 +0700
+++ Makefile 2009-10-19 20:05:37.000000000 +0700
@@ -21,6 +21,11 @@
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.*)
+USE_TOOLS+= gmake
+.endif
+
UNLIMIT_RESOURCES+= datasize
REPLACE_PERL+= utils/webtgz.pl
Home |
Main Index |
Thread Index |
Old Index