summaryrefslogtreecommitdiff
path: root/security/amavis-perl
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 /security/amavis-perl
parentUpdate to 4154. (diff)
Conditionalize bzip2 dependencies.
Notes
Notes: svn path=/head/; revision=46297
Diffstat (limited to 'security/amavis-perl')
-rw-r--r--security/amavis-perl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/amavis-perl/Makefile b/security/amavis-perl/Makefile
index 1be8f4fa1dd5..a5aef9df5d88 100644
--- a/security/amavis-perl/Makefile
+++ b/security/amavis-perl/Makefile
@@ -13,7 +13,6 @@ MASTER_SITES= http://www.amavis.org/dist/perl/
MAINTAINER= roman@xpert.com
BUILD_DEPENDS= ${LOCALBASE}/bin/uvscan:${PORTSDIR}/security/vscan \
- ${LOCALBASE}/bin/bunzip2:${PORTSDIR}/archivers/bzip2 \
${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha \
${LOCALBASE}/bin/unarj:${PORTSDIR}/archivers/unarj \
${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
@@ -29,6 +28,9 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/uvscan:${PORTSDIR}/security/vscan \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog
+.if !exists(/usr/bin/bzip2)
+BUILD_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2
+.endif
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes