diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-12-29 17:05:01 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-12-29 17:05:01 +0000 |
commit | bb3423200934a1d55084197fe458e5311c782670 (patch) | |
tree | 4317ecb26546dfc30504049307a89f910be273c4 | |
parent | dbe1950414c58be636cbc92b6dbde86597562e53 (diff) |
Notes
-rw-r--r-- | www/p5-libapreq/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/p5-libapreq/Makefile b/www/p5-libapreq/Makefile index 166201914f5c..3cbc0eb39bef 100644 --- a/www/p5-libapreq/Makefile +++ b/www/p5-libapreq/Makefile @@ -28,9 +28,15 @@ 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) @@ -41,4 +47,4 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/eg/perl/* ${EXAMPLESDIR}/perl .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |