diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2016-12-28 02:16:04 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2016-12-28 02:16:04 +0800 |
commit | 10d57068e1816d9c002d4eebe49870ead3f8e95c (patch) | |
tree | b3c66394afcb38fc0f8fdc8b12c3a31f08614f22 /devel | |
parent | ce30162c0f22d7c4e1d0608c362803c7bd571a4f (diff) | |
download | freebsd-ports-gnome-10d57068e1816d9c002d4eebe49870ead3f8e95c.tar.gz freebsd-ports-gnome-10d57068e1816d9c002d4eebe49870ead3f8e95c.tar.zst freebsd-ports-gnome-10d57068e1816d9c002d4eebe49870ead3f8e95c.zip |
- Update to 1.54
- Add PORTSCOUT
- Sort PLIST
Changes: http://search.cpan.org/dist/B-C/Changes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-B-C/Makefile | 13 | ||||
-rw-r--r-- | devel/p5-B-C/distinfo | 5 | ||||
-rw-r--r-- | devel/p5-B-C/files/extra-patch-ByteLoader_bytecode.h | 25 | ||||
-rw-r--r-- | devel/p5-B-C/files/patch-bytecode.pl | 9 | ||||
-rw-r--r-- | devel/p5-B-C/files/patch-lib_B_Bytecode.pm | 16 | ||||
-rw-r--r-- | devel/p5-B-C/pkg-plist | 8 |
6 files changed, 12 insertions, 64 deletions
diff --git a/devel/p5-B-C/Makefile b/devel/p5-B-C/Makefile index 61ca7875b8d1..4538334f59b0 100644 --- a/devel/p5-B-C/Makefile +++ b/devel/p5-B-C/Makefile @@ -2,24 +2,25 @@ # $FreeBSD$ PORTNAME= B-C -PORTVERSION= 1.52 -PORTREVISION= 1 +PORTVERSION= 1.54 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:RURBAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org -COMMENT= Perl compiler's C backend +COMMENT= Perl compiler's C backend #' LICENSE= ART10 GPLv1 LICENSE_COMB= dual -BUILD_DEPENDS= p5-B-Flags>=0:devel/p5-B-Flags \ +BUILD_DEPENDS= p5-B-Flags>=0.15:devel/p5-B-Flags \ p5-Opcodes>=0:devel/p5-Opcodes \ p5-IPC-Run>=0:devel/p5-IPC-Run RUN_DEPENDS:= ${BUILD_DEPENDS} +PORTSCOUT= limit:^[0-9\.]*$$ + USES= perl5 USE_PERL5= configure PERL_INC_STAGE= ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/CORE @@ -28,10 +29,6 @@ PLIST_SUB+= PERL_ARCH=${PERL_ARCH} .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} >= 502106 -EXTRA_PATCHES= ${FILESDIR}/extra-patch-ByteLoader_bytecode.h -.endif - .if ${PERL_LEVEL} >= 502400 && ${OSVERSION} < 1000054 BROKEN= Does not build .endif diff --git a/devel/p5-B-C/distinfo b/devel/p5-B-C/distinfo index 8374b2965f8f..5eb0c4e392f3 100644 --- a/devel/p5-B-C/distinfo +++ b/devel/p5-B-C/distinfo @@ -1,2 +1,3 @@ -SHA256 (B-C-1.52.tar.gz) = 072b4b9e39431ad8ef5173557c26ade97f985cf150f6580a20f42dd9fc3651a7 -SIZE (B-C-1.52.tar.gz) = 2305520 +TIMESTAMP = 1482851310 +SHA256 (B-C-1.54.tar.gz) = d07e5af5fb798fcd3f4eda5e40744a14c1b3ef9e585a7dca55b5db31cb1d28d3 +SIZE (B-C-1.54.tar.gz) = 2084445 diff --git a/devel/p5-B-C/files/extra-patch-ByteLoader_bytecode.h b/devel/p5-B-C/files/extra-patch-ByteLoader_bytecode.h deleted file mode 100644 index f331e10536ee..000000000000 --- a/devel/p5-B-C/files/extra-patch-ByteLoader_bytecode.h +++ /dev/null @@ -1,25 +0,0 @@ ---- ByteLoader/bytecode.h.orig 2014-08-21 22:13:08 UTC -+++ ByteLoader/bytecode.h -@@ -785,13 +785,21 @@ static int bget_swab = 0; - padl = (SV*)pad_new(arg); \ - BSET_OBJ_STOREX(padl); \ - } STMT_END --#if (PERL_VERSION >= 19) || ( PERL_VERSION == 19 && PERL_SUBVERSION > 3) -+/* PADNAMELIST now a valid lvalue: v5.21.6-197-g0f94cb1 */ -+#if (PERL_VERSION >= 22) || ( PERL_VERSION == 21 && PERL_SUBVERSION > 5) -+#define BSET_padl_name(padl, pad) \ -+ PadlistARRAY((PADLIST*)padl)[0] = (PAD*)pad; \ -+ PadnamelistMAXNAMED((PADNAMELIST*)pad) = AvFILL((AV*)pad) -+#else -+/* extra PADNAMELIST: v5.17.3-49-g36c300b */ -+#if (PERL_VERSION >= 18) || ( PERL_VERSION == 17 && PERL_SUBVERSION > 3) - #define BSET_padl_name(padl, pad) \ - PadlistARRAY((PADLIST*)padl)[0] = (PAD*)pad; \ - PadnamelistMAXNAMED((PAD*)pad) = AvFILL((AV*)pad) - #else - #define BSET_padl_name(padl, pad) PadlistARRAY((PADLIST*)padl)[0] = (PAD*)pad - #endif -+#endif - #define BSET_padl_sym(padl, pad) PadlistARRAY((PADLIST*)padl)[1] = (PAD*)pad - #define BSET_xcv_name_hek(cv, arg) \ - STMT_START { \ diff --git a/devel/p5-B-C/files/patch-bytecode.pl b/devel/p5-B-C/files/patch-bytecode.pl deleted file mode 100644 index 85b91f5be25e..000000000000 --- a/devel/p5-B-C/files/patch-bytecode.pl +++ /dev/null @@ -1,9 +0,0 @@ ---- bytecode.pl.orig 2014-08-21 22:13:08 UTC -+++ bytecode.pl -@@ -1044,4 +1044,5 @@ __END__ - 165 18 op_savefree PL_op->op_savefree U8 - 166 18 op_static PL_op->op_static U8 - 167 19.003 op_folded PL_op->op_folded U8 --168 21.002 op_lastsib PL_op->op_lastsib U8 -+168 21.002-21.010 op_lastsib PL_op->op_lastsib U8 -+169 21.011 op_moresib PL_op->op_moresib U8 diff --git a/devel/p5-B-C/files/patch-lib_B_Bytecode.pm b/devel/p5-B-C/files/patch-lib_B_Bytecode.pm deleted file mode 100644 index 40c684e7ae28..000000000000 --- a/devel/p5-B-C/files/patch-lib_B_Bytecode.pm +++ /dev/null @@ -1,16 +0,0 @@ ---- lib/B/Bytecode.pm.orig 2014-08-21 22:13:08 UTC -+++ lib/B/Bytecode.pm -@@ -846,9 +846,12 @@ sub B::OP::bsave_thin { - if ($] >= 5.019002 and $op->can('folded')) { - asm "op_folded", $op->folded if $op->folded; - } -- if ($] >= 5.021002 and $op->can('lastsib')) { -+ if ($] >= 5.021002 and $[ < 5.021011 and $op->can('lastsib')) { - asm "op_lastsib", $op->lastsib if $op->lastsib; - } -+ if ($] >= 5.021011 and $op->can('moresib')) { -+ asm "op_moresib", $op->moresib if $op->moresib; -+ } - } - } - diff --git a/devel/p5-B-C/pkg-plist b/devel/p5-B-C/pkg-plist index 38ae2a1320c2..d458b30dfb4a 100644 --- a/devel/p5-B-C/pkg-plist +++ b/devel/p5-B-C/pkg-plist @@ -9,7 +9,7 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/cc_runtime.h %%SITE_ARCH%%/B/Bytecode.pm %%SITE_ARCH%%/B/Bytecode56.pm %%SITE_ARCH%%/B/C.pm -%%SITE_ARCH%%/B/C/Flags.pm +%%SITE_ARCH%%/B/C/Config.pm %%SITE_ARCH%%/B/CC.pm %%SITE_ARCH%%/B/Disassembler.pm %%SITE_ARCH%%/B/Stackobj.pm @@ -21,6 +21,9 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/cc_runtime.h %%SITE_ARCH%%/auto/B/C/C.so %%SITE_ARCH%%/auto/B/Stash/Stash.so %%SITE_ARCH%%/auto/ByteLoader/ByteLoader.so +%%PERL5_MAN1%%/assemble.1.gz +%%PERL5_MAN1%%/disassemble.1.gz +%%PERL5_MAN1%%/perlcc.1.gz %%PERL5_MAN3%%/B::Asmdata.3.gz %%PERL5_MAN3%%/B::Assembler.3.gz %%PERL5_MAN3%%/B::Bblock.3.gz @@ -35,6 +38,3 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/cc_runtime.h %%PERL5_MAN3%%/B::perloptree.3.gz %%PERL5_MAN3%%/BcVersions.3.gz %%PERL5_MAN3%%/ByteLoader.3.gz -%%PERL5_MAN1%%/assemble.1.gz -%%PERL5_MAN1%%/disassemble.1.gz -%%PERL5_MAN1%%/perlcc.1.gz |