diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-07-06 06:59:18 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-07-06 06:59:18 +0000 |
commit | 93cd22d1c1f04b0b20929c748f38e563df16a701 (patch) | |
tree | 2f1e3fb0a786b0df4d6929c676a32164a03067be /devel/p5-IO-KQueue | |
parent | 6c6c55cd26abb040749ae407bc4a26cbae8d4134 (diff) | |
download | ports-93cd22d1c1f04b0b20929c748f38e563df16a701.tar.gz ports-93cd22d1c1f04b0b20929c748f38e563df16a701.zip |
Notes
Diffstat (limited to 'devel/p5-IO-KQueue')
-rw-r--r-- | devel/p5-IO-KQueue/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/devel/p5-IO-KQueue/Makefile b/devel/p5-IO-KQueue/Makefile index 818bb8938eee..17cea33b092d 100644 --- a/devel/p5-IO-KQueue/Makefile +++ b/devel/p5-IO-KQueue/Makefile @@ -19,8 +19,13 @@ PERL_CONFIGURE= yes MAN3= IO::KQueue.3 +.include <bsd.port.pre.mk> + post-patch: @${RM} -f ${WRKSRC}/._* ${WRKSRC}/examples/._* +.if ${PERL_LEVEL} < 500800 + ${REINPLACE_CMD} -e 's/const //' ${WRKSRC}/KQueue.xs +.endif .if !defined(NOPORTDOCS) post-install: @@ -29,16 +34,9 @@ post-install: @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." .endif -.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> |