On 2012/10/09 09:56, Federico Schwindt wrote:
> > [..]
> > I tested it and then removed the diff from my ports tree... I need
> > this patch to go in because kdelibs 4.9.2 is complaining about the
> > same thing i.e Cannot load library icui18n
> >
> > will somebody commit this after approval? marc?
> 
> new (untested yet) diff attached. this should be OK with espie.
> 
> f.-

Can't we just make it a LIB_DEPENDS/WANTLIB (will show as "Extra" but that's ok)
and use the original patch to just remove the version? qt4 already depends on
gstreamer-base which depends on pango which depends on icu4c, so in reality
there's no new dependency in this case, it just forces pkg_add to update
things when necessary.

qt4 has the same issue with gtk+2 and cups (which already got fixed by just
removing the version number), though in those cases gtk+2 and cups don't seem to
be existing deps (I don't know how to do this with sqlports and my 
show-required-by
is still running but I went a few levels deep manually) - is there some way
better than this mess to retrieve the lib version?

        cd ${PORTSDIR}/print/cups && perl -pi -e 's,%%CUPS_VER%%,`make 
show=LIBcups_VERSION:R`,;' ${WRKSRC}/src/gui/painting/qcups.cpp


Reply via email to