summaryrefslogtreecommitdiffstats
path: root/archivers/rpm
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 /archivers/rpm
parent01f54590915661a5f168e052c9c17d8b4ee4e09d (diff)
downloadFreeBSD-ports-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.zip
FreeBSD-ports-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.gz
Conditionalize bzip2 dependencies.
Diffstat (limited to 'archivers/rpm')
-rw-r--r--archivers/rpm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile
index 9c96bd3..502ba5d 100644
--- a/archivers/rpm/Makefile
+++ b/archivers/rpm/Makefile
@@ -14,9 +14,11 @@ MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
MAINTAINER= nakai@FreeBSD.org
-LIB_DEPENDS= bz2.1:${PORTSDIR}/archivers/bzip2 \
- intl.1:${PORTSDIR}/devel/gettext \
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
popt.0:${PORTSDIR}/devel/popt
+.if !exists(/usr/bin/bzip2)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
USE_GMAKE= yes
USE_AUTOMAKE= yes
OpenPOWER on IntegriCloud