aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-16 04:33:16 +0800
committerknu <knu@FreeBSD.org>2001-08-16 04:33:16 +0800
commit58124457c3a6dd7117d6d4f3f81c0205ff4c0695 (patch)
tree2bac886c1008a0d4900a2204268e6fef08c43c02 /graphics/ImageMagick
parent01f54590915661a5f168e052c9c17d8b4ee4e09d (diff)
downloadfreebsd-ports-gnome-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.gz
freebsd-ports-gnome-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.zst
freebsd-ports-gnome-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.zip
Conditionalize bzip2 dependencies.
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 6a58ab6b95f4..d5cd42c66520 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -31,8 +31,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
-LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \
- fpx.1:${PORTSDIR}/graphics/libfpx \
+LIB_DEPENDS= fpx.1:${PORTSDIR}/graphics/libfpx \
jbig.1:${PORTSDIR}/graphics/jbigkit \
jpeg.9:${PORTSDIR}/graphics/jpeg \
lcms.1:${PORTSDIR}/graphics/lcms \
@@ -40,6 +39,9 @@ LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.7:${PORTSDIR}/print/freetype2 \
xml2.5:${PORTSDIR}/textproc/libxml2
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
USE_PERL5= yes
USE_LIBTOOL= yes