- 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
This commit is contained in:
Thomas Zander 2014-02-02 22:44:22 +00:00
parent bb9cc0d276
commit dbf205802f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342371

View file

@ -2,7 +2,7 @@
PORTNAME= ImageMagick PORTNAME= ImageMagick
DISTVERSION= 6.8.0-7 DISTVERSION= 6.8.0-7
PORTREVISION= 4 PORTREVISION= 5
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= graphics perl5 CATEGORIES= graphics perl5
MASTER_SITES= http://www.imagemagick.org/download/ \ MASTER_SITES= http://www.imagemagick.org/download/ \
@ -397,6 +397,12 @@ post-patch:
# deprecated gvCleanup # deprecated gvCleanup
@${REINPLACE_CMD} -e "s|gvCleanup|gvFreeContext|g" \ @${REINPLACE_CMD} -e "s|gvCleanup|gvFreeContext|g" \
${WRKSRC}/coders/dot.c ${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: pre-configure:
.if defined(_IMAGEMAGICK_THREADS_PERL_MSG) .if defined(_IMAGEMAGICK_THREADS_PERL_MSG)