diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2005-12-18 00:09:27 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2005-12-18 00:09:27 +0800 |
commit | 69ceb5d0d19320f38f7389a8af91c8b908b66c52 (patch) | |
tree | b0d5b3b7a62a78192e38c2b75d606116f0147b4a | |
parent | 3eb519b888bb8b159734158d1fea4e296a04c0a3 (diff) | |
download | freebsd-ports-gnome-69ceb5d0d19320f38f7389a8af91c8b908b66c52.tar.gz freebsd-ports-gnome-69ceb5d0d19320f38f7389a8af91c8b908b66c52.tar.zst freebsd-ports-gnome-69ceb5d0d19320f38f7389a8af91c8b908b66c52.zip |
- mark IGNORE on perl 5.00503
- unbreak on perl 5.6.2
- fix plist
PR: ports/90566
Submitted by: leeym
-rw-r--r-- | devel/p5-IO-KQueue/Makefile | 16 | ||||
-rw-r--r-- | devel/p5-IO-KQueue/pkg-plist | 2 |
2 files changed, 15 insertions, 3 deletions
diff --git a/devel/p5-IO-KQueue/Makefile b/devel/p5-IO-KQueue/Makefile index 815d5b9940f1..a1d5c93a1434 100644 --- a/devel/p5-IO-KQueue/Makefile +++ b/devel/p5-IO-KQueue/Makefile @@ -10,7 +10,7 @@ PORTVERSION= 0.29 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@FreeBSD.org @@ -20,4 +20,16 @@ PERL_CONFIGURE= yes 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> diff --git a/devel/p5-IO-KQueue/pkg-plist b/devel/p5-IO-KQueue/pkg-plist index 7c066dfdd3f7..4a996e118a2f 100644 --- a/devel/p5-IO-KQueue/pkg-plist +++ b/devel/p5-IO-KQueue/pkg-plist @@ -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 -@unexec %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true |