Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 19:12:11 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40347: editors/vim-lite is linked with libiconv
Message-ID:  <200207081512.g68FCB752107@woozle.rinet.ru>

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

>Number:         40347
>Category:       ports
>Synopsis:       editors/vim-lite is linked with libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 08 08:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 4-STABLE i386
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:
System: FreeBSD 4-STABLE 


>Description:

	If libiconv (textproc/libiconv) is installed, vim-lite quitely links
with it, rendering package unusable at outer systems without libiconv.

>How-To-Repeat:
	cd /usr/ports/converters/libiconv
	make install clean
	cd ../../editors/vim-lite
	make install clean
	ldd /usr/local/bin/vim

	... /usr/local/lib/libiconv.so.3 is reported 
>Fix:

	I don't know the correct way. Either patch for src/configure should
take place to prevent libiconv usage (I'm not ready to provide such patch yet),
or we could simply add libiconv as a library dependency:


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/vim-lite/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile    20 Oct 2001 00:13:54 -0000      1.13
+++ Makefile    8 Jul 2002 15:08:37 -0000
@@ -10,4 +10,6 @@
 
 MASTERDIR=     ${.CURDIR}/../vim
 
+LIB_DEPENDS=   iconv.3:${PORTSDIR}/converters/libiconv
+
 .include "${MASTERDIR}/Makefile"

>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?200207081512.g68FCB752107>