aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
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
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')
-rw-r--r--graphics/ImageMagick/Makefile6
-rw-r--r--graphics/autotrace/Makefile4
-rw-r--r--graphics/enfle/Makefile6
-rw-r--r--graphics/gtksee/Makefile6
4 files changed, 15 insertions, 7 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
diff --git a/graphics/autotrace/Makefile b/graphics/autotrace/Makefile
index 585d03a966ab..1bb0f7f9ea84 100644
--- a/graphics/autotrace/Makefile
+++ b/graphics/autotrace/Makefile
@@ -20,10 +20,12 @@ LIB_DEPENDS= jbig.1:${PORTSDIR}/graphics/jbigkit \
freetype.7:${PORTSDIR}/print/freetype2 \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.4:${PORTSDIR}/graphics/png \
- bz2.1:${PORTSDIR}/archivers/bzip2 \
ming.2:${PORTSDIR}/graphics/ming \
wmf.1:${PORTSDIR}/graphics/libwmf \
Magick.5:${PORTSDIR}/graphics/ImageMagick
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
diff --git a/graphics/enfle/Makefile b/graphics/enfle/Makefile
index 02cc6eb287f5..06792f5264c8 100644
--- a/graphics/enfle/Makefile
+++ b/graphics/enfle/Makefile
@@ -18,8 +18,10 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
mng.1:${PORTSDIR}/graphics/libmng \
ungif.5:${PORTSDIR}/graphics/libungif \
- arc.1:${PORTSDIR}/archivers/libarc \
- bz2.1:${PORTSDIR}/archivers/bzip2
+ arc.1:${PORTSDIR}/archivers/libarc
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
USE_BZIP2= yes
USE_X_PREFIX= yes
diff --git a/graphics/gtksee/Makefile b/graphics/gtksee/Makefile
index d0f52203ea04..fd59f751dccc 100644
--- a/graphics/gtksee/Makefile
+++ b/graphics/gtksee/Makefile
@@ -17,8 +17,10 @@ LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
-RUN_DEPENDS= bzip:${PORTSDIR}/archivers/bzip \
- bzip2:${PORTSDIR}/archivers/bzip2
+RUN_DEPENDS= bzip:${PORTSDIR}/archivers/bzip
+.if !exists(/usr/bin/bzip2)
+RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
+.endif
USE_GTK= yes
GNU_CONFIGURE= yes