diff options
Diffstat (limited to 'misc/shared-mime-info/files/patch-Makefile.in')
-rw-r--r-- | misc/shared-mime-info/files/patch-Makefile.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/shared-mime-info/files/patch-Makefile.in b/misc/shared-mime-info/files/patch-Makefile.in new file mode 100644 index 000000000..aa974de43 --- /dev/null +++ b/misc/shared-mime-info/files/patch-Makefile.in @@ -0,0 +1,14 @@ +--- Makefile.in.orig 2010-11-26 22:55:49.000000000 -0500 ++++ Makefile.in 2010-11-26 22:56:47.000000000 -0500 +@@ -1036,6 +1036,11 @@ $(pkgconfig_DATA): config.status + + install-data-hook: install-binPROGRAMS + @ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(datadir)/mime" ++@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in %%MIMEDIRS%%; do \ ++@ENABLE_UPDATE_MIMEDB_TRUE@ if [ -d $${mdir} ]; then \ ++@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$${mdir}" ; \ ++@ENABLE_UPDATE_MIMEDB_TRUE@ fi; \ ++@ENABLE_UPDATE_MIMEDB_TRUE@ done + + uninstall-hook: + for media in text application image audio inode video message model multipart x-epoc x-content; do rm -f "$(DESTDIR)$(datadir)/mime/$${media}/"*.xml; done |