diff options
author | Lars Thegler <lth@FreeBSD.org> | 2005-04-30 11:10:25 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2005-04-30 11:10:25 +0000 |
commit | 72a520f063ee8bfefa278af3c881ec9851986317 (patch) | |
tree | d83b88a634f4b9bc6561661ae6521f39c7ce8f04 /www/p5-CGI-SpeedyCGI | |
parent | d44a718b6e15963710c3ab837a57852df9ae0f2f (diff) |
Notes
Diffstat (limited to 'www/p5-CGI-SpeedyCGI')
-rw-r--r-- | www/p5-CGI-SpeedyCGI/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile index 7faeb84e06e0..edea9df54014 100644 --- a/www/p5-CGI-SpeedyCGI/Makefile +++ b/www/p5-CGI-SpeedyCGI/Makefile @@ -20,8 +20,6 @@ PERL_CONFIGURE= yes .include <bsd.port.pre.mk> -APXS?= ${LOCALBASE}/sbin/apxs - # define WITHOUT_APACHE to prevent mod_speedycgi from being built even if Apache is installed .if !exists(${APXS}) || defined(WITHOUT_APACHE) @@ -40,6 +38,12 @@ AP_LIBEXEC?= ${PREFIX}/libexec/apache PLIST_SUB+= AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///} .endif +post-patch: + @${PERL} -pi -e 's,apxs -q,${APXS} -q,;' \ + ${WRKSRC}/src/SpeedyMake.pl + @${PERL} -pi -e 's,APXS=apxs,APXS=${APXS},;' \ + ${WRKSRC}/mod_speedycgi/Makefile.tmpl + post-configure: @${PERL} -pi -e 's,^PREFIX = /usr$$,PREFIX = ${PREFIX},g;' \ ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile |