diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-09 03:28:48 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-12-09 03:28:48 +0000 |
commit | bb1dec777ec871e90b6e340a3af8670707296c6e (patch) | |
tree | 64b0d16efaec82b4d69f9b5db7d0cd3f8b7e9c8e /graphics/ImageMagick | |
parent | 37a48ed3ee05e7d136cf66cff2d3a3ef0fbc2e73 (diff) | |
download | ports-bb1dec777ec871e90b6e340a3af8670707296c6e.tar.gz ports-bb1dec777ec871e90b6e340a3af8670707296c6e.zip |
Notes
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r-- | graphics/ImageMagick/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index 2bbe8c548832..be9a45c4c6e0 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -110,12 +110,11 @@ PLIST_SUB+= X11='' .endif pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|LIBLTDL=.*\n|LIBLTDL="-lltdl"\n|g ; \ - s|INCLTDL=.*\n|INCLTDL=\n|g ; \ - s|lcms/lcms.h|lcms.h|g ; \ - s|(-D_REENTRANT)|\1 ${PTHREAD_CFLAGS}| ; \ - s|lcms_lcms_h|lcms_h|g' ${WRKSRC}/configure + @${PERL} -pi -e 's|-lpthread|-lc_r|g ; \ + s|LIBLTDL=.*\n|LIBLTDL="-lltdl"\n|g ; \ + s|INCLTDL=.*\n|INCLTDL=\n|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' @${PERL} -pi -e 's|lcms/lcms.h|lcms.h|g' ${WRKSRC}/magick/transform.c |