ports/90566: [PATCH] devel/p5-IO-KQueue: fix
Yen-Ming Lee
leeym at FreeBSD.org
Sat Dec 17 16:00:20 UTC 2005
>Number: 90566
>Category: ports
>Synopsis: [PATCH] devel/p5-IO-KQueue: fix
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 17 16:00:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.0-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005
>Description:
- mark IGNORE on perl 5.00503
- unbreak on perl 5.6.2
- fix plist
Port maintainer (kuriyama at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-IO-KQueue-0.29_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-IO-KQueue/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile 15 Dec 2005 22:44:17 -0000 1.2
+++ Makefile 17 Dec 2005 15:56:18 -0000
@@ -10,7 +10,7 @@
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../../authors/id/M/MS/MSERGEANT
+MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama at FreeBSD.org
@@ -20,4 +20,16 @@
MAN3= IO::KQueue.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# dXSTARG is not defined in perl 5.00503
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6 or better
+.endif
+
+.if ${PERL_LEVEL} < 500800
+post-patch:
+ ${REINPLACE_CMD} -e 's/const //' ${WRKSRC}/KQueue.xs
+.endif
+
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/p5-IO-KQueue/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist 15 Dec 2005 22:44:17 -0000 1.2
+++ pkg-plist 17 Dec 2005 15:56:18 -0000
@@ -4,4 +4,4 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/KQueue/KQueue.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/KQueue/KQueue.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/KQueue
- at unexec %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+ at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
--- p5-IO-KQueue-0.29_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list