From 1c0bb5fd518e125eb1376079df1efbe1e350c7e0 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Thu, 26 Apr 2007 19:09:22 +0000 Subject: Correct MIME dirs in patch. --- misc/shared-mime-info/Makefile | 1 + misc/shared-mime-info/files/patch-Makefile.in | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'misc') 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; \ -- cgit v1.2.3