- Update to 0.13

- While I'm here:
  - Allow to strip shared library as regular user
  - Use SITE_ARCH

Changes:	http://search.cpan.org/dist/B-Flags/Changes
PR:		199785
Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-04-29 19:19:07 +00:00
parent d9d45cea7b
commit a1d178dc33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385007
3 changed files with 5 additions and 21 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= B-Flags
PORTVERSION= 0.11
PORTVERSION= 0.13
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:RURBAN
@ -18,9 +18,9 @@ USES= perl5
USE_PERL5= configure
NO_ARCH= yes
#pre-install: test
post-install:
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/B/Flags/Flags.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/B/Flags/Flags.so
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/B/Flags/Flags.so
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (B-Flags-0.11.tar.gz) = 24e51e83175bd0928abf4ad78e916a9cb2b7c975702d740d4565e7ef323dcf6a
SIZE (B-Flags-0.11.tar.gz) = 7568
SHA256 (B-Flags-0.13.tar.gz) = 6d00f08681772d0abec3aeedb5584910a6df5ced230c1525403a1c7da42f1352
SIZE (B-Flags-0.13.tar.gz) = 9161

View file

@ -1,16 +0,0 @@
--- Flags.xs.orig 2014-12-03 12:04:54 UTC
+++ Flags.xs
@@ -66,8 +66,13 @@ flagspv(o)
if (o->op_folded)
sv_catpv(RETVAL, ",FOLDED");
#if (PERL_VERSION == 21 && PERL_SUBVERSION > 1) || PERL_VERSION >= 22
+#if (PERL_VERSION == 21 && PERL_SUBVERSION < 11)
if (o->op_lastsib)
sv_catpv(RETVAL, ",LASTSIB");
+#else
+ if (o->op_moresib)
+ sv_catpv(RETVAL, ",MORESIB");
+#endif
#endif
#endif
#endif