summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 04:58:29 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 04:58:29 +0800
commit957d818aa761163c3c1ba7c8abe8004b136e4117 (patch)
treed95713589c82fe7c52044bdbafd4bcd51c3878b0 /misc
parent72ee003352c0ad83db70c33928a69c3316efd464 (diff)
downloadmarcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.tar
marcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.tar.gz
marcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.tar.bz2
marcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.tar.lz
marcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.tar.xz
marcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.tar.zst
marcuscom-ports-957d818aa761163c3c1ba7c8abe8004b136e4117.zip
Correct the pkg-config file path.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8654 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r--misc/shared-mime-info/Makefile4
-rw-r--r--misc/shared-mime-info/files/patch-Makefile.in15
2 files changed, 14 insertions, 5 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index 403ae5c0d..4267f7d2f 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -3,11 +3,11 @@
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
-# $MCom: ports/misc/shared-mime-info/Makefile,v 1.3 2007/04/26 19:02:24 marcus Exp $
+# $MCom: ports/misc/shared-mime-info/Makefile,v 1.4 2007/04/26 19:10:20 marcus Exp $
PORTNAME= shared-mime-info
PORTVERSION= 0.21
-PORTREVISION= 2
+PORTREVISION= 3
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 75d24c5fc..4a6a2643e 100644
--- a/misc/shared-mime-info/files/patch-Makefile.in
+++ b/misc/shared-mime-info/files/patch-Makefile.in
@@ -1,11 +1,20 @@
---- Makefile.in.orig Thu Apr 26 15:04:07 2007
-+++ Makefile.in Thu Apr 26 15:06:17 2007
+--- Makefile.in.orig Fri Apr 27 16:56:45 2007
++++ Makefile.in Fri Apr 27 16:57:14 2007
+@@ -274,7 +274,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
@@ -901,7 +901,11 @@ $(pkgconfig_DATA): config.status
@INTLTOOL_DESKTOP_RULE@
install-data-hook:
-@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@ for mdir in /usr/local/share/mime /usr/X11R6/share/mime /usr/local/share/mime; do \
+@ENABLE_UPDATE_MIMEDB_TRUE@ if [ -d $${mdir} ]; then \
+@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" "$${mdir}" ; \
+@ENABLE_UPDATE_MIMEDB_TRUE@ fi; \