aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-09 11:28:48 +0800
committerlioux <lioux@FreeBSD.org>2001-12-09 11:28:48 +0800
commit0f3433c1df59e574a857b0a284c9fae9cf0602d9 (patch)
tree8ca441d439b87a722425cddad3335a6389394da8 /graphics/ImageMagick
parent1f528980653dfec7d91dbacf16a1ddf546f1078d (diff)
downloadfreebsd-ports-gnome-0f3433c1df59e574a857b0a284c9fae9cf0602d9.tar.gz
freebsd-ports-gnome-0f3433c1df59e574a857b0a284c9fae9cf0602d9.tar.zst
freebsd-ports-gnome-0f3433c1df59e574a857b0a284c9fae9cf0602d9.zip
o Correct a "fix" that was made to the PR before commiting in last
revision o This port requires special treatment regarding pthreads support, more than the ordinary one o According to submitter: "Of cource, it isn't ordinary style to use -lc_r and -pthread at once, there are some reasons for hardcoding -lc_r within configure script of ImageMagick port even if on -stable" Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile11
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