pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-Declare Added devel/p5-Devel-Declare ve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98374314276d
branches:  trunk
changeset: 548256:98374314276d
user:      abs <abs%pkgsrc.org@localhost>
date:      Sun Oct 12 17:26:15 2008 +0000

description:
Added devel/p5-Devel-Declare version 0.001011

import and unimport declarator magic for perl

diffstat:

 devel/p5-Devel-Declare/DESCR            |   1 +
 devel/p5-Devel-Declare/Makefile         |  23 +++++++++++++++++++++++
 devel/p5-Devel-Declare/distinfo         |   6 ++++++
 devel/p5-Devel-Declare/patches/patch-aa |  18 ++++++++++++++++++
 4 files changed, 48 insertions(+), 0 deletions(-)

diffs (64 lines):

diff -r f247316a7861 -r 98374314276d devel/p5-Devel-Declare/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Declare/DESCR      Sun Oct 12 17:26:15 2008 +0000
@@ -0,0 +1,1 @@
+import and unimport declarator magic
diff -r f247316a7861 -r 98374314276d devel/p5-Devel-Declare/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Declare/Makefile   Sun Oct 12 17:26:15 2008 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/12 17:26:15 abs Exp $
+#
+
+DISTNAME=      Devel-Declare-0.001011
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Devel/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Devel-Declare/
+COMMENT=       Declarator magic for perl
+
+DEPENDS+=     p5-Scalar-List-Utils>0:../../devel/p5-Scalar-List-Utils
+BUILD_DEPENDS+=     p5-Test-Simple>0:../../devel/p5-Test-Simple
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= c
+
+PERL5_PACKLIST=        auto/Devel/Declare/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f247316a7861 -r 98374314276d devel/p5-Devel-Declare/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Declare/distinfo   Sun Oct 12 17:26:15 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/12 17:26:15 abs Exp $
+
+SHA1 (Devel-Declare-0.001011.tar.gz) = 326d02554ae8834a9677d482ed53dbe6532ebe65
+RMD160 (Devel-Declare-0.001011.tar.gz) = cd41b16aad62b26fd60444dc5356898cc13c5de5
+Size (Devel-Declare-0.001011.tar.gz) = 25646 bytes
+SHA1 (patch-aa) = c6772df05f1fbadb375ae9b15d288295053a377a
diff -r f247316a7861 -r 98374314276d devel/p5-Devel-Declare/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Declare/patches/patch-aa   Sun Oct 12 17:26:15 2008 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/10/12 17:26:15 abs 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
+ 
+ /* conditionalise these two because as of 5.9.5 we already get them from
+    the headers (mst) */



Home | Main Index | Thread Index | Old Index