aboutsummaryrefslogtreecommitdiffstats
path: root/net
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 /net
parent01f54590915661a5f168e052c9c17d8b4ee4e09d (diff)
downloadfreebsd-ports-graphics-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.gz
freebsd-ports-graphics-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.zst
freebsd-ports-graphics-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.zip
Conditionalize bzip2 dependencies.
Diffstat (limited to 'net')
-rw-r--r--net/librsync/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/librsync/Makefile b/net/librsync/Makefile
index 584c355742f..df1d4b106d0 100644
--- a/net/librsync/Makefile
+++ b/net/librsync/Makefile
@@ -14,8 +14,10 @@ MASTER_SITE_SUBDIR= rproxy
MAINTAINER= ijliao@FreeBSD.org
-LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
- bz2.1:${PORTSDIR}/archivers/bzip2
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
USE_LIBTOOL= yes
GNU_CONFIGURE= yes