diff options
author | knu <knu@FreeBSD.org> | 2001-08-16 04:33:16 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-16 04:33:16 +0800 |
commit | 58124457c3a6dd7117d6d4f3f81c0205ff4c0695 (patch) | |
tree | 2bac886c1008a0d4900a2204268e6fef08c43c02 /security/amavis-perl | |
parent | 01f54590915661a5f168e052c9c17d8b4ee4e09d (diff) | |
download | freebsd-ports-gnome-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.gz freebsd-ports-gnome-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.tar.zst freebsd-ports-gnome-58124457c3a6dd7117d6d4f3f81c0205ff4c0695.zip |
Conditionalize bzip2 dependencies.
Diffstat (limited to 'security/amavis-perl')
-rw-r--r-- | security/amavis-perl/Makefile | 4 |
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 |