Bug 37023 - editors/vim misses the (optional) dependency on converters/libiconv
Summary: editors/vim misses the (optional) dependency on converters/libiconv
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: David E. O'Brien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-12 16:00 UTC by ru
Modified: 2002-07-03 21:23 UTC (History)
0 users

See Also:


Attachments
file.diff (571 bytes, patch)
2002-04-12 16:00 UTC, ru
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ru freebsd_committer freebsd_triage 2002-04-12 16:00:01 UTC
Yesterday, I have deleted the "iconv" package, this broke "vim".

Fix: %%%
How-To-Repeat: Install the converters/iconv port.
Install the editors/vim port.
Deinstall the converters/iconv port.
Try to run vim(1).
Comment 1 ru freebsd_committer freebsd_triage 2002-04-12 16:00:46 UTC
Responsible Changed
From-To: freebsd-ports->obrien

Over to maintainer (low priority).
Comment 2 never 2002-04-12 17:51:56 UTC
Hello, Ruslan Ermilov!

On Fri, Apr 12, 2002 at 05:54:41PM +0300, you wrote:

> >Number:         37023
> >Category:       ports
> >Synopsis:       editors/vim misses the (optional) dependency on converters/libiconv
> 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
	Why it shouldn't be:
  LIB_DEPENDS+=		iconv.3:${PORTSDIR}/converters/libiconv

  ?

-- 
NEVE-RIPE
Comment 3 ru freebsd_committer freebsd_triage 2002-04-12 19:42:41 UTC
On Fri, Apr 12, 2002 at 07:51:56PM +0300, Nevermind wrote:
> Hello, Ruslan Ermilov!
> 
> On Fri, Apr 12, 2002 at 05:54:41PM +0300, you wrote:
> 
> > >Number:         37023
> > >Category:       ports
> > >Synopsis:       editors/vim misses the (optional) dependency on converters/libiconv
> > 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
> 	Why it shouldn't be:
>   LIB_DEPENDS+=		iconv.3:${PORTSDIR}/converters/libiconv
> 
>   ?
> 

I don't know.  I just happened to have libiconv.so.2 after the recent
install of converters/iconv, and I stolen this from security/gnupg.

Every time I upgrade something, this installs X-another_version for
X-previous_version.  That's scary.

When I saw I have both conv-2.X and conv-1.X, I pkg_delete'd both and
reinstalled conv-2.X.  vim(1) then went broken.

We shouldn't be really allowing to install PORT.FOO.BAR if there's
also PORT.LA.LA.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 4 David E. O'Brien freebsd_committer freebsd_triage 2002-07-03 21:23:10 UTC
State Changed
From-To: open->closed

committed, thanks!