summaryrefslogtreecommitdiff
path: root/wm/fvwm-themes/patches/patch-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'wm/fvwm-themes/patches/patch-Makefile.am')
-rw-r--r--wm/fvwm-themes/patches/patch-Makefile.am16
1 files changed, 13 insertions, 3 deletions
diff --git a/wm/fvwm-themes/patches/patch-Makefile.am b/wm/fvwm-themes/patches/patch-Makefile.am
index e8e3cc79895..c54659cf414 100644
--- a/wm/fvwm-themes/patches/patch-Makefile.am
+++ b/wm/fvwm-themes/patches/patch-Makefile.am
@@ -1,9 +1,19 @@
-$NetBSD: patch-Makefile.am,v 1.1 2011/07/09 14:20:53 wiz Exp $
+$NetBSD: patch-Makefile.am,v 1.2 2011/12/13 04:56:10 dholland Exp $
-Use destdir fake version at install target:
+- Use destdir fake version at install target.
+- Fix missing DESTDIR in mkinstalldirs invocation.
---- work/fvwm-themes-0.6.2/Makefile.am.orig 2002-12-06 02:01:37.000000000 +0000
+--- Makefile.am.orig 2002-12-06 02:01:37.000000000 +0000
+++ Makefile.am
+@@ -18,7 +18,7 @@ install-data-local:
+ RUN_UPDATEMENU=@RUN_UPDATEMENU@
+ UPDATE_MENU=@UPDATE_MENU@
+
+- $(mkinstalldirs) $(FT_DATADIR)
++ $(mkinstalldirs) $(DESTDIR)$(FT_DATADIR)
+ for dir in $(FT_DATA_SUBDIRS); do \
+ chmod -R o-w,go+rX $$dir 2>/dev/null || true; \
+ rm -rf "$(DESTDIR)$(FT_DATADIR)/$$dir"; \
@@ -33,10 +33,10 @@ install-data-local:
mv -f $(DESTDIR)$(SETTINGS_FILE).tmp $(DESTDIR)$(SETTINGS_FILE)