aboutsummaryrefslogtreecommitdiff
path: root/net/librsync
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-15 20:33:16 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-15 20:33:16 +0000
commit329c977502884c573478573703d4fdc1cf47cc3c (patch)
treeda7218515b0cf9493f15d3656391a819ed46faac /net/librsync
parentfe366a94317e1457726d9093e697f2d6f6e80325 (diff)
downloadports-329c977502884c573478573703d4fdc1cf47cc3c.tar.gz
ports-329c977502884c573478573703d4fdc1cf47cc3c.zip
Conditionalize bzip2 dependencies.
Notes
Notes: svn path=/head/; revision=46297
Diffstat (limited to 'net/librsync')
-rw-r--r--net/librsync/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/librsync/Makefile b/net/librsync/Makefile
index 584c355742fc..df1d4b106d01 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