There is a problem when building ImageMagick buildlog [...cut...] ------------------------------------------------------------- checking for FreeType 2.0 ... checking for freetype-config... /usr/local/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for freetype/freetype.h... no checking if FreeType package is complete... no -- some components failed test [...cut...] Port installed without errors. But TTF font is not supported: # identify -list format | grep TTF TTF* --- TrueType font Fix: Needed change in sources freetype/freetype.h => freetype2/freetype.h With patch #identify -list format | grep TTF TTF* r-- TrueType font (Freetype 2.5.2) ^^^^^^^^^^^ Patch attached with submission follows: How-To-Repeat: portmaster graphics/ImageMagick
Possible dup of ports/186170.
Responsible Changed From-To: freebsd-ports-bugs->riggs I'll take it.
Author: riggs Date: Sun Feb 2 22:44:22 2014 New Revision: 342371 URL: http://svnweb.freebsd.org/changeset/ports/342371 QAT: https://qat.redports.org/buildarchive/r342371/ Log: - Adjust location of freetype headers in ImageMagick sources - Bump PORTREVISION Note that this is a stop-gap to avoid runtime errors with ImageMagick. It allows for working pkg builds with default PREFIX/LOCALBASE. A more substantial rework and upgrade of the ImageMagick port needs to be conducted. PR: ports/186170, ports/186171 Submitted by: Vivek Khera <vivek@khera.org>, Alexander Panyushkin <vsityz@gmail.com> Approved by: mentor (thierry) MFH: 2014Q1 Modified: head/graphics/ImageMagick/Makefile Modified: head/graphics/ImageMagick/Makefile ============================================================================== --- head/graphics/ImageMagick/Makefile Sun Feb 2 22:31:11 2014 (r342370) +++ head/graphics/ImageMagick/Makefile Sun Feb 2 22:44:22 2014 (r342371) @@ -2,7 +2,7 @@ PORTNAME= ImageMagick DISTVERSION= 6.8.0-7 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= http://www.imagemagick.org/download/ \ @@ -397,6 +397,12 @@ post-patch: # deprecated gvCleanup @${REINPLACE_CMD} -e "s|gvCleanup|gvFreeContext|g" \ ${WRKSRC}/coders/dot.c +# freetype headers are in freetype2/ nowadays + @${REINPLACE_CMD} -e "s|freetype/|freetype2/|g" \ + ${WRKSRC}/configure \ + ${WRKSRC}/coders/ttf.c \ + ${WRKSRC}/magick/annotate.c \ + ${WRKSRC}/www/api/MagickCore/annotate_8c.html pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!