Date: Mon, 11 May 2009 08:15:26 +0100 From: Tim Bishop <tim@bishnet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org Subject: ports/134449: [PATCH] misc/shared-mime-info: Respect LOCALBASE Message-ID: <E1M3PjS-0002Xq-Kj@pendennis.kent.ac.uk> Resent-Message-ID: <200905110740.n4B7e5PW092659@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134449 >Category: ports >Synopsis: [PATCH] misc/shared-mime-info: Respect LOCALBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 11 07:40:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD pendennis.kent.ac.uk 7.2-STABLE FreeBSD 7.2-STABLE #11: Sat May 9 11:29:42 BST >Description: This port does not correctly respect LOCALBASE. If it is set to anything other than /usr/local it installs files in to the wrong location. It's actually caused by one of the patches, rather than the port itself. Diff is attached to fix it. Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- shared-mime-info-0.60.patch begins here --- Index: files/patch-Makefile.in =================================================================== RCS file: /u1/freebsd/cvs/ports/misc/shared-mime-info/files/patch-Makefile.in,v retrieving revision 1.8 diff -u -r1.8 patch-Makefile.in --- files/patch-Makefile.in 23 Feb 2009 05:20:29 -0000 1.8 +++ files/patch-Makefile.in 10 May 2009 21:41:27 -0000 @@ -5,7 +5,7 @@ install-data-hook: -@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(datadir)/mime" -+@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in /usr/local/share/mime /usr/local/gnome2/shared-mime-info/share/mime; do \ ++@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in $(prefix)/share/mime $(prefix)/gnome2/shared-mime-info/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; \ --- shared-mime-info-0.60.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1M3PjS-0002Xq-Kj>