svn commit: r338948 - in head/graphics/ImageMagick: . files
Andrey A. Chernov
ache at FreeBSD.org
Mon Jan 6 22:07:25 UTC 2014
Author: ache
Date: Mon Jan 6 22:07:24 2014
New Revision: 338948
URL: http://svnweb.freebsd.org/changeset/ports/338948
Log:
Fix PerlMagick build and install
Added:
head/graphics/ImageMagick/files/patch-PerlMagick-Makefile.PL.in (contents, props changed)
Modified:
head/graphics/ImageMagick/Makefile
Modified: head/graphics/ImageMagick/Makefile
==============================================================================
--- head/graphics/ImageMagick/Makefile Mon Jan 6 21:55:38 2014 (r338947)
+++ head/graphics/ImageMagick/Makefile Mon Jan 6 22:07:24 2014 (r338948)
@@ -406,6 +406,10 @@ post-patch:
${WRKSRC}/${i}
. endfor
.endif
+.if ${PORT_OPTIONS:MPERL}
+ ${REINPLACE_CMD} -e "s|LIBS_magick = '|LIBS_magick = '-L${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE |" \
+ ${WRKSRC}/PerlMagick/Makefile.PL.in
+.endif
# deprecated gvCleanup
@${REINPLACE_CMD} -e "s|gvCleanup|gvFreeContext|g" \
${WRKSRC}/coders/dot.c
@@ -424,8 +428,6 @@ pre-configure:
post-install: test
.if ${PORT_OPTIONS:MPERL}
@${RM} -f ${PREFIX}/lib/perl5/${PERL_VER}/mach/perllocal.pod
- ${REINPLACE_CMD} '303 s/EXTRALIBS =/EXTRALIBS = -L${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE/g' \
- ${WRKSRC}/PerlMagick/Makefile
.endif
.if ${PORT_OPTIONS:MMODULES}
. if ${PORT_OPTIONS:M16BIT_PIXEL}
Added: head/graphics/ImageMagick/files/patch-PerlMagick-Makefile.PL.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/ImageMagick/files/patch-PerlMagick-Makefile.PL.in Mon Jan 6 22:07:24 2014 (r338948)
@@ -0,0 +1,10 @@
+--- PerlMagick/Makefile.PL.in.orig 2013-11-18 17:03:16.000000000 +0400
++++ PerlMagick/Makefile.PL.in 2014-01-07 01:28:38.000000000 +0400
+@@ -239,6 +239,7 @@
+ 'PERLMAINCC' => '@PERLMAINCC@ @OPENMP_CFLAGS@',
+ 'AR' => '@AR@',
+ 'LD' => '@PERLMAINCC@',
++ 'MAKE' => 'gmake',
+
+ # Set Perl installation prefix to ImageMagick installation prefix
+ # 'PREFIX' => '@prefix@',
More information about the svn-ports-all
mailing list