aboutsummaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2004-02-17 20:25:11 +0000
committerMikhail Teterin <mi@FreeBSD.org>2004-02-17 20:25:11 +0000
commitf6aff3c986435eb2f2445a5969c5d2e51313f8c4 (patch)
tree4c218d89ea1811f564184977997ffbda2390415c /graphics/ImageMagick
parentdd4102618b027318a49b8113ad89196a28369266 (diff)
Notes
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 9c30b78e2066..5f06ed3fab0e 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -212,6 +212,9 @@ INSTALL_TARGET= install install-data-html
.endif
post-patch:
+# remove the autogenerated Magick.c so it will be regenerated from
+# Magick.xs on _this_ system:
+ @${RM} -f ${WRKSRC}/PerlMagick/Magick.c
# do not use "-pthread" here
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/-pthread/-lc_r/}|g ; \
s|-pthread|${PTHREAD_LIBS:S/-pthread/-lc_r/}|g ; \