summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/wesnoth/distinfo3
-rw-r--r--games/wesnoth/patches/patch-Makefile_am30
2 files changed, 32 insertions, 1 deletions
diff --git a/games/wesnoth/distinfo b/games/wesnoth/distinfo
index d1e61e37ef8..bf3bbe0a504 100644
--- a/games/wesnoth/distinfo
+++ b/games/wesnoth/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.43 2011/10/11 13:15:59 adam Exp $
+$NetBSD: distinfo,v 1.44 2012/07/01 00:10:51 dholland Exp $
SHA1 (wesnoth-1.8.6.tar.bz2) = ade2f88287b5900485646f0ffe3414fa8b695afb
RMD160 (wesnoth-1.8.6.tar.bz2) = 2190efe45d554df59052db1a58fcc3bdf766c47e
Size (wesnoth-1.8.6.tar.bz2) = 302226547 bytes
+SHA1 (patch-Makefile_am) = 3023b63d31fc9a0bc72eeae88f234f42877dca1e
SHA1 (patch-aa) = 17ffae20b02ccdaed6f465c988d330e4890df76c
SHA1 (patch-ac) = 41d23e2103fd3c3e0f085b0164e9f29bcb8d024c
SHA1 (patch-ae) = 9e0ee531c33da80565791d81f716b313fa85af18
diff --git a/games/wesnoth/patches/patch-Makefile_am b/games/wesnoth/patches/patch-Makefile_am
new file mode 100644
index 00000000000..3d81a2af422
--- /dev/null
+++ b/games/wesnoth/patches/patch-Makefile_am
@@ -0,0 +1,30 @@
+$NetBSD: patch-Makefile_am,v 1.1 2012/07/01 00:10:51 dholland Exp $
+
+Fix build with latest automake.
+
+--- Makefile.am.orig 2009-10-31 19:07:25.000000000 +0000
++++ Makefile.am
+@@ -63,9 +63,9 @@ install-data-local:
+ if INSTALLDATA
+ @echo "Replicate data directory skeleton under target shared-data directory."
+ @echo "Then copy all corresponding files."
+- test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)"
++ test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
+ ( $(finddatadirs) ) | while read p; do \
+- $(mkdir_p) "$(DESTDIR)$(pkgdatadir)/$$p"; \
++ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)/$$p"; \
+ done; \
+ srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ ( $(finddata) ) | while read p; do \
+@@ -75,9 +75,9 @@ if INSTALLDATA
+ done
+ @echo "Replicate doc directory skeleton under target doc subdirectory"
+ @echo "Then copy all corresponding files."
+- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
++ test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
+ ( $(finddocdirs) ) | while read p; do \
+- $(mkdir_p) "$(DESTDIR)$(docdir)/$$p"; \
++ $(MKDIR_P) "$(DESTDIR)$(docdir)/$$p"; \
+ done; \
+ ( $(finddoc) ) | while read p; do \
+ cd doc && $(w_preparefileinstall) \