aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-libapreq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-libapreq/Makefile')
-rw-r--r--www/p5-libapreq/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/www/p5-libapreq/Makefile b/www/p5-libapreq/Makefile
index 528b1de6c9fa..53140656b1cc 100644
--- a/www/p5-libapreq/Makefile
+++ b/www/p5-libapreq/Makefile
@@ -28,15 +28,9 @@ PERL_CONFIGURE= yes
MAN3= Apache::Cookie.3 Apache::Request.3 Apache::libapreq.3 \
libapreq.3
-.include <bsd.port.pre.mk>
-
post-patch:
@${PERL} -pi~ -e '$$_="" if ($$.>37 && $$.<63) || /PREREQ_PM/' \
${WRKSRC}/Makefile.PL
-.if ${PERL_LEVEL} < 500600
- @${PERL} -pi~ -e '$$_="#define aTHX_\n" if $$. == 155' \
- ${WRKSRC}/c/apache_request.h
-.endif
post-install:
.ifndef(NOPORTDOCS)
@@ -47,4 +41,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/eg/perl/* ${EXAMPLESDIR}/perl
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>