diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2009-03-28 20:45:10 +0000 |
commit | 1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch) | |
tree | e0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /www/p5-CGI-SpeedyCGI | |
parent | 0804fca67c5eda2be61329599da40c5734b4d634 (diff) | |
download | ports-1a9ef9fa6754e0c0f087f4e7a76e65029a75941c.tar.gz ports-1a9ef9fa6754e0c0f087f4e7a76e65029a75941c.zip |
Notes
Diffstat (limited to 'www/p5-CGI-SpeedyCGI')
-rw-r--r-- | www/p5-CGI-SpeedyCGI/Makefile | 4 |
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;' \ |