summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-06-15 23:07:30 +0000
committersno <sno@pkgsrc.org>2009-06-15 23:07:30 +0000
commitf74fd202a0eb98fc84a219b245ab3e778501ed5e (patch)
treebdc9d6110a5843ab3d39803a4b65620c6183235c /devel
parent092a84fd30e421b8a251e622f0dad94ae3f627e5 (diff)
downloadpkgsrc-f74fd202a0eb98fc84a219b245ab3e778501ed5e.tar.gz
pkgsrc changes:
- Updating package of p5 module Devel::Declare from 0.005002 to 0.005005 - Adjusting license according to META.yaml - Use Module::Install as module type - Adjust MEM_WRAP_CHECK_ patch (was it submitted upstream?) Upstream changes: 0.005005 - Improve compatibility with MAD-enabled perls (Reini Urban, Closes RT#45779). 0.005004 - Don't redefine MEM_WRAP_CHECK_ if it's already defined, getting rid of compilation errors on some perls (Maik Fischer). 0.005003 - Failing tests for line number issues (Ash Berlin). - Add strip_names_and_args (Cory Watson). - Various pod fixes (Yanick Champoux, Florian Ragwitz). - Add copyright statements.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Devel-Declare/Makefile8
-rw-r--r--devel/p5-Devel-Declare/distinfo10
-rw-r--r--devel/p5-Devel-Declare/patches/patch-aa25
3 files changed, 20 insertions, 23 deletions
diff --git a/devel/p5-Devel-Declare/Makefile b/devel/p5-Devel-Declare/Makefile
index 800723dbbe7..d388c040570 100644
--- a/devel/p5-Devel-Declare/Makefile
+++ b/devel/p5-Devel-Declare/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2009/05/17 18:23:55 sno Exp $
+# $NetBSD: Makefile,v 1.8 2009/06/15 23:07:30 sno Exp $
#
-DISTNAME= Devel-Declare-0.005002
+DISTNAME= Devel-Declare-0.005005
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Devel/}
@@ -9,10 +9,9 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Devel/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Devel-Declare/
COMMENT= Declarator magic for perl
-LICENSE= artistic-2.0
+LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-B-Hooks-EndOfScope>0.05:../../devel/p5-B-Hooks-EndOfScope
-DEPENDS+= p5-B-Hooks-OP-Check>=0.10:../../devel/p5-B-Hooks-OP-Check
DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
BUILD_DEPENDS+= p5-ExtUtils-Depends>0:../../devel/p5-ExtUtils-Depends
@@ -23,6 +22,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c
PERL5_PACKLIST= auto/Devel/Declare/.packlist
+PERL5_MODULE_TYPE= Module::Install
.include "../../devel/p5-B-Hooks-OP-Check/buildlink3.mk"
.include "../../lang/perl5/module.mk"
diff --git a/devel/p5-Devel-Declare/distinfo b/devel/p5-Devel-Declare/distinfo
index 35a027a03ad..29075b5bd9c 100644
--- a/devel/p5-Devel-Declare/distinfo
+++ b/devel/p5-Devel-Declare/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2009/05/17 18:23:55 sno Exp $
+$NetBSD: distinfo,v 1.7 2009/06/15 23:07:30 sno Exp $
-SHA1 (Devel-Declare-0.005002.tar.gz) = 3a5d608ef2857ed84c52bc51198cbf7dbde8efec
-RMD160 (Devel-Declare-0.005002.tar.gz) = 6db28814183a24118d605beccaedb938a2603261
-Size (Devel-Declare-0.005002.tar.gz) = 41244 bytes
-SHA1 (patch-aa) = c6772df05f1fbadb375ae9b15d288295053a377a
+SHA1 (Devel-Declare-0.005005.tar.gz) = 35fac5d9d68969f20eea2f6211121e121fe96f06
+RMD160 (Devel-Declare-0.005005.tar.gz) = a7a14a9757362716045479fdf40bf000fb2b8ff7
+Size (Devel-Declare-0.005005.tar.gz) = 42947 bytes
+SHA1 (patch-aa) = b96bc8644140eada9b52080c3eb0a4807e167265
diff --git a/devel/p5-Devel-Declare/patches/patch-aa b/devel/p5-Devel-Declare/patches/patch-aa
index ffee190baa2..8f8063353bc 100644
--- a/devel/p5-Devel-Declare/patches/patch-aa
+++ b/devel/p5-Devel-Declare/patches/patch-aa
@@ -1,18 +1,15 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/10/12 17:26:15 abs Exp $
+$NetBSD: patch-aa,v 1.2 2009/06/15 23:07:30 sno Exp $
Do not error out if perl was built without PERL_MALLOC_WRAP
---- stolen_chunk_of_toke.c.orig 2008-01-22 02:58:19.000000000 +0000
-+++ stolen_chunk_of_toke.c
-@@ -34,7 +34,10 @@ STATIC char* S_scan_word(pTHX_ char *
- #define DPTR2FPTR(t,p) ((t)PTR2nat(p)) /* data pointer to function pointer */
- #define FPTR2DPTR(t,p) ((t)PTR2nat(p)) /* function pointer to data pointer */
- #define PTR2nat(p) (PTRV)(p) /* pointer to integer of PTRSIZE */
--#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
-+
-+#ifdef PERL_MALLOC_WRAP
-+# define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
-+#endif
+--- stolen_chunk_of_toke.c.orig 2009-06-05 13:57:22.000000000 +0000
++++ stolen_chunk_of_toke.c 2009-06-15 22:50:52.000000000 +0000
+@@ -44,7 +44,7 @@
+ #ifndef SvPVX_const
+ #define SvPVX_const(sv) ((const char*) (0 + SvPVX(sv)))
+ #endif
+-#ifndef MEM_WRAP_CHECK_
++#if defined(PERL_MALLOC_WRAP) && !defined(MEM_WRAP_CHECK_)
+ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
+ #endif
- /* conditionalise these two because as of 5.9.5 we already get them from
- the headers (mst) */