Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2002 17:54:41 +0300 (EEST)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37023: editors/vim misses the (optional) dependency on converters/libiconv
Message-ID:  <200204121454.g3CEsfq50693@whale.sunbay.crimea.ua>

next in thread | raw e-mail | index | archive | help

>Number:         37023
>Category:       ports
>Synopsis:       editors/vim misses the (optional) dependency on converters/libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 12 08:00:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Ermilov
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Sunbay Software Ltd
>Environment:
System: FreeBSD whale.sunbay.crimea.ua 4.5-STABLE FreeBSD 4.5-STABLE #1: Mon Mar 4 21:02:08 EET 2002 kivvy@whale.sunbay.crimea.ua:/usr/src/sys/compile/WHALE i386

>Description:
Yesterday, I have deleted the "iconv" package, this broke "vim".

>How-To-Repeat:
Install the converters/iconv port.
Install the editors/vim port.
Deinstall the converters/iconv port.
Try to run vim(1).

>Fix:
%%%
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/vim/Makefile,v
retrieving revision 1.188
diff -u -p -r1.188 Makefile
--- Makefile	10 Apr 2002 02:08:28 -0000	1.188
+++ Makefile	12 Apr 2002 10:37:31 -0000
@@ -129,6 +129,10 @@ MAKE_ARGS+=	CONF_OPT_PERL="--disable-per
 USE_XLIB=	yes
 .endif
 
+.if exists(${PREFIX}/lib/libiconv.so)
+LIB_DEPENDS+=	iconv.2:${PORTSDIR}/converters/iconv
+.endif
+
 pre-build:
 	@(cd ${WRKSRC}; ${MAKE} distclean)
 	@${PERL} -pi -e 's,8\.2,8.3,' ${WRKSRC}/auto/configure
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204121454.g3CEsfq50693>