aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-SpeedyCGI
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2009-03-28 20:45:10 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2009-03-28 20:45:10 +0000
commit1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch)
treee0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /www/p5-CGI-SpeedyCGI
parent0804fca67c5eda2be61329599da40c5734b4d634 (diff)
downloadports-1a9ef9fa6754e0c0f087f4e7a76e65029a75941c.tar.gz
ports-1a9ef9fa6754e0c0f087f4e7a76e65029a75941c.zip
Notes
Diffstat (limited to 'www/p5-CGI-SpeedyCGI')
-rw-r--r--www/p5-CGI-SpeedyCGI/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile
index 92d9cbcc2c5e..223bec941ff0 100644
--- a/www/p5-CGI-SpeedyCGI/Makefile
+++ b/www/p5-CGI-SpeedyCGI/Makefile
@@ -35,6 +35,10 @@ post-patch:
@${PERL} -pi -e 's,APXS=apxs,APXS=${APXS},;' \
${WRKSRC}/mod_speedycgi/Makefile.tmpl
${CP} ${FILESDIR}/speedy_dump.c ${WRKSRC}/speedy_dump/
+.if ${PERL_LEVEL} >= 501000
+ @${REINPLACE_CMD} -i '' -e 's=New(123,=Newx(=g' \
+ ${WRKSRC}/src/speedy_backend_main.h
+.endif
post-configure:
@${PERL} -pi -e 's,^PREFIX = /usr$$,PREFIX = ${PREFIX},g;' \