diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-04-26 19:09:22 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-04-26 19:09:22 +0000 |
commit | 1c0bb5fd518e125eb1376079df1efbe1e350c7e0 (patch) | |
tree | 8fe6bf2ed96e0466842630292a84b9b8d93f39b6 /misc | |
parent | Upgrade to 2.2.4. (diff) |
Correct MIME dirs in patch.
Notes
Notes:
svn path=/head/; revision=190937
Diffstat (limited to 'misc')
-rw-r--r-- | misc/shared-mime-info/Makefile | 1 | ||||
-rw-r--r-- | misc/shared-mime-info/files/patch-Makefile.in | 11 |
2 files changed, 2 insertions, 10 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index 83f17518e5ca..f30729e95acd 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -6,6 +6,7 @@ PORTNAME= shared-mime-info PORTVERSION= 0.21 +PORTREVISION= 1 CATEGORIES= misc gnome MASTER_SITES= http://people.freedesktop.org/~hadess/ diff --git a/misc/shared-mime-info/files/patch-Makefile.in b/misc/shared-mime-info/files/patch-Makefile.in index d32435f436f9..8cceb5b6ec95 100644 --- a/misc/shared-mime-info/files/patch-Makefile.in +++ b/misc/shared-mime-info/files/patch-Makefile.in @@ -1,20 +1,11 @@ --- Makefile.in.orig Sat Feb 10 04:50:08 2007 +++ Makefile.in Sat Feb 10 04:52:30 2007 -@@ -251,7 +251,7 @@ EXTRA_DIST = \ - - CLEANFILES = freedesktop.org.xml po/stamp-it - DISTCLEANFILES = intltool-extract intltool-merge intltool-update --pkgconfigdir = $(datadir)/pkgconfig -+pkgconfigdir = $(prefix)/libdata/pkgconfig - pkgconfig_DATA = shared-mime-info.pc - all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -871,7 +871,11 @@ $(pkgconfig_DATA): config.status @INTLTOOL_DESKTOP_RULE@ install-data-hook: -@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(prefix)/share/mime" -+@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in /usr/X11R6/share/gnome/mime /usr/local/share/gnome/mime /usr/X11R6/share/mime /usr/local/share/mime /usr/local/gnome2/shared-mime-info/share/mime /usr/share/mime; do \ ++@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" "$${mdir}" ; \ +@ENABLE_UPDATE_MIMEDB_TRUE@ fi; \ |