summaryrefslogtreecommitdiffstats
path: root/graphics/enfle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/enfle/Makefile')
-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