aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-libapreq
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
committerlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
commit9ccc7e92dea72d32d4ae04470bbce43e6f9227da (patch)
tree20264757b2346c435477e3f6cfdf324086bbafe9 /www/p5-libapreq
parent07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (diff)
downloadfreebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.gz
freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.zst
freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.zip
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr
Diffstat (limited to 'www/p5-libapreq')
-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>