diff options
author | dholland <dholland@pkgsrc.org> | 2012-07-01 00:10:51 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-07-01 00:10:51 +0000 |
commit | 5aa131a68ed91ecd4e3a96858b4b4adef4c4626b (patch) | |
tree | 08b142debbcc914dc5a2a95640aefe845ba610ae /games/wesnoth/patches | |
parent | ca5cd523f7e62bb717ae7e78917f004947dbdd9c (diff) | |
download | pkgsrc-5aa131a68ed91ecd4e3a96858b4b4adef4c4626b.tar.gz |
Fix build with latest automake.
Diffstat (limited to 'games/wesnoth/patches')
-rw-r--r-- | games/wesnoth/patches/patch-Makefile_am | 30 |
1 files changed, 30 insertions, 0 deletions
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) \ |