From b59621d3ae883bef429a8fae6073bfa293a55222 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Tue, 13 Mar 2012 16:15:36 +0000 Subject: - Revert ports/165605 as requested by portmgr@ Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so) --- databases/p5-DBIx-Class-EncodedColumn/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'databases/p5-DBIx-Class-EncodedColumn') diff --git a/databases/p5-DBIx-Class-EncodedColumn/Makefile b/databases/p5-DBIx-Class-EncodedColumn/Makefile index 2b2f5db177ab..fbc653206a53 100644 --- a/databases/p5-DBIx-Class-EncodedColumn/Makefile +++ b/databases/p5-DBIx-Class-EncodedColumn/Makefile @@ -33,10 +33,20 @@ MAN3= DBIx::Class::EncodedColumn.3 \ DBIx::Class::EncodedColumn::Crypt::OpenPGP.3 \ DBIx::Class::EncodedColumn::Digest.3 +post-extract: + @${PERL} -i -ne 'print unless m,^build_requires, || m,^feature, .. m,;,' ${WRKSRC}/Makefile.PL + OPTIONS= SHA "Digest::SHA Support" On \ BLOWFISH "Blowfish Support?" On \ OPENPGP "Crypt::OpenPGP (gpg) Support" On +.include + +.if defined(WITH_SHA) +. if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA +. endif +.endif .if defined(WITH_BLOWFISH) RUN_DEPENDS+= p5-Crypt-Eksblowfish>=0:${PORTSDIR}/security/p5-Crypt-Eksblowfish .endif @@ -45,7 +55,4 @@ RUN_DEPENDS+= p5-Crypt-OpenPGP>=0:${PORTSDIR}/security/p5-Crypt-OpenPGP \ p5-Crypt-CAST5_PP>=0:${PORTSDIR}/security/p5-Crypt-CAST5_PP .endif -post-extract: - @${PERL} -i -ne 'print unless m,^build_requires, || m,^feature, .. m,;,' ${WRKSRC}/Makefile.PL - -.include +.include -- cgit v1.2.3