aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-07-06 14:59:18 +0800
committersem <sem@FreeBSD.org>2006-07-06 14:59:18 +0800
commit262ee1b4275e234c593047f664b9278fd20e2243 (patch)
tree653ec0f8e9274fba6bb10285547fe2fc2b4877f0 /devel
parent58aefa6239841fcdaa2717d12e22fd0a212b7455 (diff)
downloadfreebsd-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/Makefile12
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>