svn commit: r329378 - in head/math/p5-Bit-ShiftReg: . files

Andrej Zverev az at FreeBSD.org
Fri Oct 4 20:22:23 UTC 2013


Author: az
Date: Fri Oct  4 20:22:22 2013
New Revision: 329378
URL: http://svnweb.freebsd.org/changeset/ports/329378

Log:
  - Add stage support
  - Fix build with perl 5.16

Added:
  head/math/p5-Bit-ShiftReg/files/
  head/math/p5-Bit-ShiftReg/files/patch-lib_defs.h   (contents, props changed)
Modified:
  head/math/p5-Bit-ShiftReg/Makefile
  head/math/p5-Bit-ShiftReg/pkg-plist   (contents, props changed)

Modified: head/math/p5-Bit-ShiftReg/Makefile
==============================================================================
--- head/math/p5-Bit-ShiftReg/Makefile	Fri Oct  4 20:15:46 2013	(r329377)
+++ head/math/p5-Bit-ShiftReg/Makefile	Fri Oct  4 20:22:22 2013	(r329378)
@@ -7,13 +7,10 @@ CATEGORIES=	math perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	perl at 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>

Added: head/math/p5-Bit-ShiftReg/files/patch-lib_defs.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Bit-ShiftReg/files/patch-lib_defs.h	Fri Oct  4 20:22:22 2013	(r329378)
@@ -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]

Modified: head/math/p5-Bit-ShiftReg/pkg-plist
==============================================================================
--- head/math/p5-Bit-ShiftReg/pkg-plist	Fri Oct  4 20:15:46 2013	(r329377)
+++ head/math/p5-Bit-ShiftReg/pkg-plist	Fri Oct  4 20:22:22 2013	(r329378)
@@ -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


More information about the svn-ports-head mailing list