aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-10-04 20:22:22 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-10-04 20:22:22 +0000
commitc907db8df03e4299b60b1cc2a214520d54c401da (patch)
treead0f3ff83932dd86da0e7553bc7691ae93bd24ba /math
parent9805a6cad0ccf526abda96e2a3cc8f1e1d7d4b65 (diff)
downloadports-c907db8df03e4299b60b1cc2a214520d54c401da.tar.gz
ports-c907db8df03e4299b60b1cc2a214520d54c401da.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/p5-Bit-ShiftReg/Makefile5
-rw-r--r--math/p5-Bit-ShiftReg/files/patch-lib_defs.h11
-rw-r--r--math/p5-Bit-ShiftReg/pkg-plist1
3 files changed, 13 insertions, 4 deletions
diff --git a/math/p5-Bit-ShiftReg/Makefile b/math/p5-Bit-ShiftReg/Makefile
index 0efb4e1e5db8..ac850f0defa4 100644
--- a/math/p5-Bit-ShiftReg/Makefile
+++ b/math/p5-Bit-ShiftReg/Makefile
@@ -7,13 +7,10 @@ CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module implementing various bit shifting operations
USES= perl5
USE_PERL5= configure
-MAN3= Bit::ShiftReg.3
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/math/p5-Bit-ShiftReg/files/patch-lib_defs.h b/math/p5-Bit-ShiftReg/files/patch-lib_defs.h
new file mode 100644
index 000000000000..7465367e5afc
--- /dev/null
+++ b/math/p5-Bit-ShiftReg/files/patch-lib_defs.h
@@ -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]
diff --git a/math/p5-Bit-ShiftReg/pkg-plist b/math/p5-Bit-ShiftReg/pkg-plist
index 74b5b8b98b63..34d9e9636a8f 100644
--- a/math/p5-Bit-ShiftReg/pkg-plist
+++ b/math/p5-Bit-ShiftReg/pkg-plist
@@ -2,6 +2,7 @@
%%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.so
+%%PERL5_MAN3%%/Bit::ShiftReg.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit/ShiftReg
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bit
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bit