svn commit: r358277 - head/graphics/ImageMagick

Koop Mast kwm at FreeBSD.org
Thu Jun 19 15:45:12 UTC 2014


On do, 2014-06-19 at 19:26 +0400, Dmitry Marakasov wrote:
> * Koop Mast (kwm at FreeBSD.org) wrote:
> 
> > Author: kwm
> > Date: Wed Jun 18 14:34:55 2014
> > New Revision: 358277
> > URL: http://svnweb.freebsd.org/changeset/ports/358277
> > QAT: https://qat.redports.org/buildarchive/r358277/
> > 
> > Log:
> >   IM uses .la files to find the plugins. Add :keepla back to USES=libtool,
> >   and a note that it is needed.
> 
> Removing :keepla was illegal due to another reason: not all ports that
> depend on ImageMagick were converted to USES=libtool yet. Those not
> converted will still have references to ImageMagick's .la's in their
> .la files, which will lead to certain build failures.

Yeah that's a good point but .. since the library name changed the .la
files where invalid anyway and all users of the library needed to be
recompiled anyway.

> Regarding loading plugins, it's related to libltdl. The library can
> load plain .so files as well, but ".la" paths is passed to it
> explicitely so it won't. This probably can be fixed by changing 3
> occurances of ".la" in magick/module.c to .so (or removing extensions
> and using lt_dlopenext instead of lt_dlopen, see [1])
> 
> http://www.redhat.com/archives/fedora-packaging/2006-October/msg00068.html
> 
> Would be nice for someone to experiment on this so we still could
> drop .la's from ImageMagick in future.
> 

This is a very nice tip, I will take this into consideration and see if
upstream is open for changing some magic :)

Thanks!

-Koop



More information about the svn-ports-head mailing list