diff options
author | sem <sem@FreeBSD.org> | 2006-07-06 14:59:18 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-07-06 14:59:18 +0800 |
commit | 262ee1b4275e234c593047f664b9278fd20e2243 (patch) | |
tree | 653ec0f8e9274fba6bb10285547fe2fc2b4877f0 /devel | |
parent | 58aefa6239841fcdaa2717d12e22fd0a212b7455 (diff) | |
download | freebsd-ports-gnome-262ee1b4275e234c593047f664b9278fd20e2243.tar.gz freebsd-ports-gnome-262ee1b4275e234c593047f664b9278fd20e2243.tar.zst freebsd-ports-gnome-262ee1b4275e234c593047f664b9278fd20e2243.zip |
- Fix double post-patch section. It causes problem with PERL_LEVEL < 500800.
Pointy hat to: aaron
Diffstat (limited to 'devel')
-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> |