aboutsummaryrefslogtreecommitdiff
path: root/finance/p5-Business-WorldPay-Junior/Makefile
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-04-02 17:54:43 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-04-02 17:54:43 +0000
commit5382b797798cc96be201ca78248d644ac5b3b00a (patch)
treefe83ab31c4e9d97d9055c23592d46eae2d27198b /finance/p5-Business-WorldPay-Junior/Makefile
parent551fded38f17dae9a22c4621b1eee090e543099b (diff)
downloadports-5382b797798cc96be201ca78248d644ac5b3b00a.tar.gz
ports-5382b797798cc96be201ca78248d644ac5b3b00a.zip
Notes
Diffstat (limited to 'finance/p5-Business-WorldPay-Junior/Makefile')
-rw-r--r--finance/p5-Business-WorldPay-Junior/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/finance/p5-Business-WorldPay-Junior/Makefile b/finance/p5-Business-WorldPay-Junior/Makefile
index 8439e0cf662c..40693b709ff1 100644
--- a/finance/p5-Business-WorldPay-Junior/Makefile
+++ b/finance/p5-Business-WorldPay-Junior/Makefile
@@ -16,7 +16,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module to handle WorldPay Junior for payment services
BUILD_DEPENDS= ${SITE_PERL}/Business/CreditCard.pm:${PORTSDIR}/finance/p5-Business-CreditCard \
- ${SITE_PERL}/Business/OnlinePayment.pm:${PORTSDIR}/finance/p5-Business-OnlinePayment
+ ${SITE_PERL}/Business/OnlinePayment.pm:${PORTSDIR}/finance/p5-Business-OnlinePayment \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -29,14 +30,4 @@ post-patch:
-e '$$_="" if /use warnings/;' \
${WRKSRC}/Junior.pm
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-.else
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>