summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>2000-04-24 17:58:37 +0000
committerJustin M. Seger <jseger@FreeBSD.org>2000-04-24 17:58:37 +0000
commit944c6a9545d5da14746d93637b82fd7ac4a487c2 (patch)
treeb70b6e97229926bc8a4eea770d37ab5375194cbc
parentMove one of the distfiles from submitter's web space to my (diff)
Fix ImageMagick configure issue with XFree86-4
PR: ports/17838 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Notes
Notes: svn path=/head/; revision=27970
-rw-r--r--graphics/ImageMagick/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 79db2af3d5b5..16ba61a29dae 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -24,6 +24,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.3:${PORTSDIR}/graphics/png \
jbig.1:${PORTSDIR}/graphics/jbigkit \
ttf.4:${PORTSDIR}/print/freetype
+
# bzip2 for bzlib
BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 \
fig2dev:${PORTSDIR}/print/transfig \
@@ -31,19 +32,22 @@ BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 \
mpeg2decode:${PORTSDIR}/graphics/mpeg2codec \
gs:${PORTSDIR}/print/ghostscript55
-MAN1= ImageMagick.1 animate.1 combine.1 convert.1 display.1 identify.1 \
- import.1 mogrify.1 montage.1
-MAN3= Image::Magick.3
-MAN4= miff.4
-MAN5= quantize.5
+MAN1= ImageMagick.1 animate.1 combine.1 convert.1 display.1 \
+ identify.1 import.1 mogrify.1 montage.1
+MAN3= Image::Magick.3
+MAN4= miff.4
+MAN5= quantize.5
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-HAS_CONFIGURE= YES
+USE_AUTOCONF= YES
+
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared --with-perl=${PERL5} \
--enable-16bit-pixel
+
.if defined(HAVE_UNISYS_LICENSE)
CONFIGURE_ARGS+= --enable-lzw
.endif
+
USE_PERL5= YES
USE_XLIB= YES
CONFIGURE_ENV= LDFLAGS="$(LDFLAGS) -L${WRKSRC}/magick/.libs"