aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-12-06 13:35:26 +0800
committeradamw <adamw@FreeBSD.org>2004-12-06 13:35:26 +0800
commitd7baf4bbc3a0ac403b5a7fbba734d1172161519e (patch)
tree2588b12a0c608d91d25684eeb1af76ee41abe60f /deskutils
parent51f868ca2c7bea9d0f4a7cd062783c1d89728ba8 (diff)
downloadfreebsd-ports-gnome-d7baf4bbc3a0ac403b5a7fbba734d1172161519e.tar.gz
freebsd-ports-gnome-d7baf4bbc3a0ac403b5a7fbba734d1172161519e.tar.zst
freebsd-ports-gnome-d7baf4bbc3a0ac403b5a7fbba734d1172161519e.zip
Add the patch back. The mime-path fix is in the MarcusCom repo,
not in the FreeBSD repo yet. Thanks to mezz for catching my idiocy.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/glabels/files/patch-data_mime_Makefile.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/deskutils/glabels/files/patch-data_mime_Makefile.in b/deskutils/glabels/files/patch-data_mime_Makefile.in
new file mode 100644
index 000000000000..3182724727cf
--- /dev/null
+++ b/deskutils/glabels/files/patch-data_mime_Makefile.in
@@ -0,0 +1,25 @@
+--- data/mime/Makefile.in.orig Tue Aug 10 20:59:17 2004
++++ data/mime/Makefile.in Tue Aug 10 21:10:15 2004
+@@ -151,7 +151,7 @@
+ appdir = $(datadir)/application-registry
+ app_DATA = glabels.applications
+
+-newmimedir = $(datadir)/mime/packages
++newmimedir = $(prefix)/share/mime/packages
+ newmime_DATA = $(xml_files)
+
+ EXTRA_DIST = \
+@@ -331,11 +331,11 @@
+ @INTLTOOL_XML_RULE@
+
+ install-data-hook:
+-@HAVE_NEW_MIME_TRUE@ $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
++@HAVE_NEW_MIME_TRUE@ $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(prefix)/share/mime"
+ @HAVE_NEWER_MIME_TRUE@ $(UPDATE_DESKTOP_DATABASE)
+
+ uninstall-hook:
+-@HAVE_NEW_MIME_TRUE@ $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
++@HAVE_NEW_MIME_TRUE@ $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(prefix)/share/mime"
+ @HAVE_NEWER_MIME_TRUE@ $(UPDATE_DESKTOP_DATABASE)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.