ports/82066: [PATCH] shells/zsh: fix default zsh-mime-setup

Ulrich Spoerlein q at galgenberg.net
Thu Jun 9 13:00:34 UTC 2005


>Number:         82066
>Category:       ports
>Synopsis:       [PATCH] shells/zsh: fix default zsh-mime-setup
>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:   Thu Jun 09 13:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD roadrunner 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri May 20 15:47:54 CEST 2005
>Description:
zsh-mime-setup is set up to look for /etc/{mime.types,mailcap}.
Neither of them should exist on a stock FreeBSD system. Patch it,
to look in ${LOCALBASE}/etc instead.

Port maintainer (sergei at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- zsh-4.2.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/shells/zsh/Makefile,v
retrieving revision 1.74
diff -u -u -r1.74 Makefile
--- Makefile	19 Apr 2005 17:56:18 -0000	1.74
+++ Makefile	8 Jun 2005 19:12:44 -0000
@@ -106,6 +106,7 @@
 
 post-patch:
 	${REINPLACE_CMD} -e 's/link=dynamic/link=either/' ${WRKSRC}/Src/Modules/*.mdd
+	${REINPLACE_CMD} -e "s|/etc/|${LOCALBASE}/etc/|" ${WRKSRC}/Functions/MIME/zsh-mime-setup
 
 post-build:
 	# Fix ".so" macro problem by using "soelim" command.
--- zsh-4.2.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list