summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-09 02:46:31 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-09 02:46:31 +0000
commit3f18987d26749ec31863c547f7b4705f89500148 (patch)
tree2c94bea6bdde4be4a3c31ade04345a245f1a8096 /graphics
parentFix typo (diff)
o Fix build in case WITH_IMAGEMAGICK_MODULES is defined
o Trim pkg-plist PR: 40358 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=62685
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile6
-rw-r--r--graphics/ImageMagick/pkg-plist1
2 files changed, 3 insertions, 4 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 24e7822268df..bf7b139107eb 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -120,7 +120,8 @@ INSTALL_TARGET= install install-data-html
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
+# Do not use PTHREAD_LIBS here
+ @${REINPLACE_CMD} -e 's|-lpthread|-lc_r|g ; \
s|^tagnames=|#tagnames=|g ; \
s|LIBLTDL=.*$$|LIBLTDL="-lltdl"|g ; \
s|INCLTDL=.*$$|INCLTDL=|g ; \
@@ -128,13 +129,12 @@ post-patch:
s|lcms_lcms_h|lcms_h|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|top_builddir)/ltdl/libltdlc.la|LIBLTDL)|g ; \
+ s|ltdl magick|magick|g ; \
s|pkgdocdir =.*$$|pkgdocdir = ${DOCSDIR}/|g ; \
s| install-data-html||g'
@${REINPLACE_CMD} -e 's|lcms/lcms.h|lcms.h|g' ${WRKSRC}/magick/transform.c
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|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}
.include <bsd.port.mk>
diff --git a/graphics/ImageMagick/pkg-plist b/graphics/ImageMagick/pkg-plist
index e2ed3e0437a0..4aaed7c2ee16 100644
--- a/graphics/ImageMagick/pkg-plist
+++ b/graphics/ImageMagick/pkg-plist
@@ -288,7 +288,6 @@ share/ImageMagick/magic.mgk
%%PORTDOCS%%share/doc/ImageMagick/www/Magick++/Image.fig
%%PORTDOCS%%share/doc/ImageMagick/www/Magick++/Image.html
%%PORTDOCS%%share/doc/ImageMagick/www/Magick++/Image.png
-@comment %%PORTDOCS%%share/doc/ImageMagick/www/Magick++/Image.svg
%%PORTDOCS%%share/doc/ImageMagick/www/Magick++/ImageDesign.html
%%PORTDOCS%%share/doc/ImageMagick/www/Magick++/ImageMagick.png
%%PORTDOCS%%share/doc/ImageMagick/www/Magick++/Install.html