aboutsummaryrefslogtreecommitdiff
path: root/archivers/rpm
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 /archivers/rpm
parentfe366a94317e1457726d9093e697f2d6f6e80325 (diff)
downloadports-329c977502884c573478573703d4fdc1cf47cc3c.tar.gz
ports-329c977502884c573478573703d4fdc1cf47cc3c.zip
Notes
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 9c96bd36f3c3..502ba5d19286 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