summaryrefslogtreecommitdiffstats
path: root/graphics/enfle
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-15 20:33:16 +0000
committerknu <knu@FreeBSD.org>2001-08-15 20:33:16 +0000
commit58124457c3a6dd7117d6d4f3f81c0205ff4c0695 (patch)
tree2bac886c1008a0d4900a2204268e6fef08c43c02 /graphics/enfle
parent01f54590915661a5f168e052c9c17d8b4ee4e09d (diff)
downloadFreeBSD-ports-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.zip
FreeBSD-ports-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.gz
Conditionalize bzip2 dependencies.
Diffstat (limited to 'graphics/enfle')
-rw-r--r--graphics/enfle/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/enfle/Makefile b/graphics/enfle/Makefile
index 02cc6eb..06792f5 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
OpenPOWER on IntegriCloud