1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add stage support

- Fix build with perl 5.16
This commit is contained in:
Andrej Zverev 2013-10-04 20:22:22 +00:00
parent 9805a6cad0
commit c907db8df0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329378
3 changed files with 13 additions and 4 deletions

View File

@ -7,13 +7,10 @@ CATEGORIES= math perl5
MASTER_SITES= CPAN MASTER_SITES= CPAN
PKGNAMEPREFIX= p5- PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module implementing various bit shifting operations COMMENT= Perl module implementing various bit shifting operations
USES= perl5 USES= perl5
USE_PERL5= configure USE_PERL5= configure
MAN3= Bit::ShiftReg.3
NO_STAGE= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- ./lib_defs.h.orig 2013-10-05 00:19:24.238806604 +0400
+++ ./lib_defs.h 2013-10-05 00:19:56.892159090 +0400
@@ -62,7 +62,7 @@
#undef TRUE
#define TRUE (0==0)
-typedef enum { false = FALSE , true = TRUE } boolean;
+typedef enum { _false = FALSE , _true = TRUE } boolean;
#define blockdef(name,size) unsigned char name[size]
#define blocktypedef(name,size) typedef unsigned char name[size]

View File

@ -2,6 +2,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg/ShiftReg.bs %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg/ShiftReg.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg/ShiftReg.so %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg/ShiftReg.so
%%PERL5_MAN3%%/Bit::ShiftReg.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bit @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bit