From 933e072394b0b6cde2f83906f870e43e7a7f49f4 Mon Sep 17 00:00:00 2001 From: lioux Date: Mon, 24 Jun 2002 15:17:16 +0000 Subject: o Update to 5.4.6.2 o Fix configure issue PR: 39680 Submitted by: Oliver Lehmann Prompted by: Stephen Montgomery-Smith , too many --- graphics/ImageMagick/Makefile | 22 +++++++++++++--------- graphics/ImageMagick/distinfo | 2 +- graphics/ImageMagick/files/patch-configure | 15 ++++++++++++--- 3 files changed, 26 insertions(+), 13 deletions(-) (limited to 'graphics/ImageMagick') diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index 03646bc8f64f..a99772922761 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -6,8 +6,7 @@ # PORTNAME= ImageMagick -PORTVERSION= 5.4.6.1 -PORTREVISION= 1 +PORTVERSION= 5.4.6.2 CATEGORIES= graphics perl5 MASTER_SITES= http://imagemagick.sourceforge.net/http/ \ ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/%SUBDIR%/ \ @@ -49,6 +48,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} USE_PERL5= yes USE_GMAKE= yes USE_LIBTOOL= yes +USE_REINPLACE= yes LIBTOOLFLAGS= # none CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" @@ -118,19 +118,23 @@ INSTALL_TARGET= install INSTALL_TARGET= install install-data-html .endif -pre-patch: - @${PERL} -pi -e 's|-lpthread|-lc_r|g ; \ +post-patch: +# @${REINPLACE_CMD} -e 's|-lpthread|-lc_r|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|`${ECHO_CMD} ${PTHREAD_LIBS}`|g ; \ s|LIBLTDL=.*$$|LIBLTDL="-lltdl"|g ; \ s|INCLTDL=.*$$|INCLTDL=|g ; \ s|lcms/lcms.h|lcms.h|g ; \ s|lcms_lcms_h|lcms_h|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ - 's|top_builddir\)/ltdl/libltdlc.la|LIBLTDL\)|g ; \ + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|top_builddir)/ltdl/libltdlc.la|LIBLTDL)|g ; \ s|pkgdocdir =.*$$|pkgdocdir = ${DOCSDIR}/|g ; \ s| install-data-html||g' - @${PERL} -pi -e 's|lcms/lcms.h|lcms.h|g' ${WRKSRC}/magick/transform.c - @${PERL} -pi -e 's|||g' ${WRKSRC}/ltdl/ltdl.c - @${PERL} -pi -e 's|timestamp: %ld|timestamp: %d|g' \ + @${REINPLACE_CMD} -e 's|lcms/lcms.h|lcms.h|g' ${WRKSRC}/magick/transform.c + @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/ltdl/ltdl.c + @${REINPLACE_CMD} -e 's|timestamp: %ld|timestamp: %d|g' \ ${WRKSRC}/magick/xwindow.c + @${REINPLACE_CMD}-e 's|^tagnames.*\$$|#&|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ + ${WRKSRC}/ltdl/configure .include diff --git a/graphics/ImageMagick/distinfo b/graphics/ImageMagick/distinfo index 4a73c321a5f0..c2911122aa20 100644 --- a/graphics/ImageMagick/distinfo +++ b/graphics/ImageMagick/distinfo @@ -1 +1 @@ -MD5 (ImageMagick-5.4.6-1.tar.gz) = 17c7b6f86f2fee789774ad3a91ff089b +MD5 (ImageMagick-5.4.6-2.tar.gz) = 2bf1c8f5b0bccea4159f593c09f8f077 diff --git a/graphics/ImageMagick/files/patch-configure b/graphics/ImageMagick/files/patch-configure index be4b07896ab8..77bf61c3c286 100644 --- a/graphics/ImageMagick/files/patch-configure +++ b/graphics/ImageMagick/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Sat Apr 6 04:06:38 2002 -+++ configure Fri May 3 04:10:56 2002 -@@ -14424,6 +14424,7 @@ +--- configure.orig Sun Jun 23 12:18:35 2002 ++++ configure Sun Jun 23 12:23:23 2002 +@@ -14689,6 +14689,7 @@ # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" @@ -8,3 +8,12 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -25601,7 +25602,7 @@ + freetype_prefix=`freetype-config --prefix` + freetype_exec_prefix=`freetype-config --exec-prefix` + LDFLAGS="$LDFLAGS -L${freetype_exec_prefix}/lib" +- CPPFLAGS="$CPPFLAGS -I${freetype_prefix}/include/freetype2" ++ CPPFLAGS="-I${freetype_prefix}/include/freetype2 $CPPFLAGS" + fi + fi + -- cgit