Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 10:58:16 -0400
From:      Coleman Kane <cokane@FreeBSD.org>
To:        miwi@FreeBSD.org
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Update to multimedia/transcode broke ImageMagick
Message-ID:  <1208876296.3060.14.camel@localhost>

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

[-- Attachment #1 --]
Hi,

The upgrade of ImageMagick breaks the ability for transcode to build
WTIH_IMAGEMAGICK=yes, even more than the small Makefile change it
recently experienced.

It seems that the configure script is still looking for libMagick.so
(instead of libMagickCore.so or libMagickWand.so).

Additionally, the following:

.if (defined(WITH_IMAGEMAGICK) || exists(${LOCALBASE}/lib/libMagick.so)) && !defined(WITHOUT_IMAGEMAGICK)
LIB_DEPENDS+=	MagickWand.1:${PORTSDIR}/graphics/ImageMagick
CONFIGURE_ARGS+=	--enable-imagemagick --with-imagemagick-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=	--enable-imagemagick=no
.endif

Should be changed to:

.if (defined(WITH_IMAGEMAGICK) || exists(${LOCALBASE}/lib/libMagickWand.so)) && !defined(WITHOUT_IMAGEMAGICK)
LIB_DEPENDS+=	MagickWand.1:${PORTSDIR}/graphics/ImageMagick
CONFIGURE_ARGS+=	--enable-imagemagick --with-imagemagick-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=	--enable-imagemagick=no
.endif

(The exists(...) clause needs to mimic the change on LIB_DEPENDS+= )

-- 
Coleman Kane

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkgN/QUACgkQcMSxQcXat5c2MQCeKBOm4GLcSuqu9SshTvlSL9ru
4q8An08+tXYZbylQ0++SsNME1U4XDPeo
=PoJR
-----END PGP SIGNATURE-----

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