aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2004-05-17 14:19:47 +0000
committerErwin Lansing <erwin@FreeBSD.org>2004-05-17 14:19:47 +0000
commit10e7bbb74607f60e0165f93a304384a8b99dbaec (patch)
tree4e3973010dcd7df9116749b130b3edde5d7c4018 /mail
parentf155e79a5de8b41dd1d8be99aeb05446f08b124e (diff)
downloadports-10e7bbb74607f60e0165f93a304384a8b99dbaec.tar.gz
ports-10e7bbb74607f60e0165f93a304384a8b99dbaec.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/yadda/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/yadda/Makefile b/mail/yadda/Makefile
index 808a387bcd75..a1e5f81e9b33 100644
--- a/mail/yadda/Makefile
+++ b/mail/yadda/Makefile
@@ -14,8 +14,7 @@ MASTER_SITES= http://code.printf.dk/~decius/yadda/ \
MAINTAINER= jesper@noehr.org
COMMENT= Yet Another Damn Delivery Agent
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
- ${SITE_PERL}/Mail/Audit.pm:${PORTSDIR}/mail/p5-Mail-Audit
+RUN_DEPENDS= ${SITE_PERL}/Mail/Audit.pm:${PORTSDIR}/mail/p5-Mail-Audit
USE_PERL5_RUN= yes
@@ -26,4 +25,12 @@ do-build:
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/yadda ${PREFIX}/sbin
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
+.else
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+.endif
+
+.include <bsd.port.post.mk>