summaryrefslogtreecommitdiff
path: root/security/pgpenvelope
diff options
context:
space:
mode:
authortv <tv>2005-03-04 20:57:50 +0000
committertv <tv>2005-03-04 20:57:50 +0000
commit276ece02e1d1fdef92767b17c1b9e617a4b0b2c4 (patch)
tree06c54f57234f177b933754ed2db587cc6c87da5e /security/pgpenvelope
parentc7e09bfeaa33ff740a3c12e4f62ef90de4c7969a (diff)
downloadpkgsrc-276ece02e1d1fdef92767b17c1b9e617a4b0b2c4.tar.gz
Make p5-GnuPG-Interface and pgpenvelope work again by switching to the
Class::MethodMaker v1 compatibility interface in Class::MakeMethods. Bump PKGREVISION.
Diffstat (limited to 'security/pgpenvelope')
-rw-r--r--security/pgpenvelope/Makefile14
-rw-r--r--security/pgpenvelope/distinfo3
-rw-r--r--security/pgpenvelope/patches/patch-ab13
3 files changed, 25 insertions, 5 deletions
diff --git a/security/pgpenvelope/Makefile b/security/pgpenvelope/Makefile
index c8f3ead3095..c5323208f08 100644
--- a/security/pgpenvelope/Makefile
+++ b/security/pgpenvelope/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2005/01/10 18:27:37 tv Exp $
+# $NetBSD: Makefile,v 1.3 2005/03/04 20:57:50 tv Exp $
#
DISTNAME= pgpenvelope-2.10.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgpenvelope/}
@@ -11,8 +11,8 @@ HOMEPAGE= http://pgpenvelope.sourceforge.net/
COMMENT= GnuPG and Pine/Procmail integration tool
DEPENDS+= p5-AppConfig>=1.52:../../devel/p5-AppConfig
-DEPENDS+= p5-Class-MethodMaker>=0.96:../../devel/p5-Class-MethodMaker
-DEPENDS+= p5-GnuPG-Interface>=0.34nb1:../../security/p5-GnuPG-Interface
+DEPENDS+= p5-Class-MakeMethods>=1.010:../../devel/p5-Class-MakeMethods
+DEPENDS+= p5-GnuPG-Interface>=0.34nb2:../../security/p5-GnuPG-Interface
DEPENDS+= p5-String-Approx>=3.13:../../textproc/p5-String-Approx
DEPENDS+= p5-Term-ReadKey>=2.14:../../devel/p5-Term-ReadKey
DEPENDS+= p5-Term-ReadLine>=1.01:../../devel/p5-Term-ReadLine
@@ -20,5 +20,11 @@ DEPENDS+= p5-Term-ReadLine>=1.01:../../devel/p5-Term-ReadLine
USE_BUILDLINK3= yes
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/pgpenvelope/.packlist
+pre-configure:
+ cd ${WRKSRC}/lib/PGPEnvelope && for f in *.pm; do \
+ ${SED} -e 's/use Class::MethodMaker/use Class::MakeMethods::Emulator::MethodMaker/' $$f > $$f.new && \
+ ${MV} -f $$f.new $$f; \
+ done
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pgpenvelope/distinfo b/security/pgpenvelope/distinfo
index f02a408d2ee..12bf93c21c0 100644
--- a/security/pgpenvelope/distinfo
+++ b/security/pgpenvelope/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/03/04 20:57:50 tv Exp $
SHA1 (pgpenvelope-2.10.2.tar.gz) = 1266a9d2184e5f4ccc0c43a6f32008e4c4218536
RMD160 (pgpenvelope-2.10.2.tar.gz) = 465c420969001d5de477d58706b9358a913b5f27
Size (pgpenvelope-2.10.2.tar.gz) = 282070 bytes
SHA1 (patch-aa) = 8a1a79f6276d24d6dbf8e5dacaeca227a139ae34
+SHA1 (patch-ab) = 26295a1de6d2ea2fbd2e58a70f2634924b5f64ac
diff --git a/security/pgpenvelope/patches/patch-ab b/security/pgpenvelope/patches/patch-ab
new file mode 100644
index 00000000000..f6b9d0680ad
--- /dev/null
+++ b/security/pgpenvelope/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/03/04 20:57:50 tv Exp $
+
+--- Makefile.PL.orig 2005-03-04 15:53:29.000000000 -0500
++++ Makefile.PL
+@@ -13,7 +13,7 @@ my $prereq_modules = { 'AppConfig'
+ 'Term::ReadKey' => 2.14,
+ 'Term::ReadLine::Gnu' => 1.01,
+ 'GnuPG::Interface' => 0.30,
+- 'Class::MethodMaker' => 0.96,
++ 'Class::MakeMethods' => 1.010,
+ 'String::Approx' => 3.13,
+ };
+