summaryrefslogtreecommitdiffstats
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-09 03:28:48 +0000
committerlioux <lioux@FreeBSD.org>2001-12-09 03:28:48 +0000
commit0f3433c1df59e574a857b0a284c9fae9cf0602d9 (patch)
tree8ca441d439b87a722425cddad3335a6389394da8 /graphics/ImageMagick
parent1f528980653dfec7d91dbacf16a1ddf546f1078d (diff)
downloadFreeBSD-ports-0f3433c1df59e574a857b0a284c9fae9cf0602d9.zip
FreeBSD-ports-0f3433c1df59e574a857b0a284c9fae9cf0602d9.tar.gz
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 2bbe8c5..be9a45c 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
OpenPOWER on IntegriCloud