FreeBSD Bugzilla – Attachment 53987 Details for
Bug 81699
www/pserv's PHP support only works with php-cgi SAPI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pserv_php.diff
pserv_php.diff (text/plain), 1.12 KB, created by
Vasil Dimov
on 2005-05-31 08:10:01 UTC
(
hide
)
Description:
pserv_php.diff
Filename:
MIME Type:
Creator:
Vasil Dimov
Created:
2005-05-31 08:10:01 UTC
Size:
1.12 KB
patch
obsolete
>diff -urN pserv.orig/Makefile pserv/Makefile >--- pserv.orig/Makefile Mon May 30 19:36:17 2005 >+++ pserv/Makefile Tue May 31 09:44:14 2005 >@@ -7,6 +7,7 @@ > > PORTNAME= pserv > PORTVERSION= 3.3 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -17,11 +18,19 @@ > USE_REINPLACE= yes > GNU_CONFIGURE= yes > >-OPTIONS= LOG "Enable logging" on \ >- PHP "Enable PHP support" on >+.if defined(WITH_PHP) >+USE_PHP=yes >+WANT_PHP_CGI=yes >+.endif > > .include <bsd.port.pre.mk> > >+pre-everything:: >+ @${ECHO_MSG} "You can change Pserv's default capabilities by defining:" >+ @${ECHO_MSG} " WITHOUT_LOG=yes Disable logging" >+ @${ECHO_MSG} " WITH_PHP=yes Enable PHP support" >+ @${ECHO_MSG} "" >+ > post-patch: > @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g;s|%%LOCALBASE%%|${LOCALBASE}|g" \ > ${WRKSRC}/defaults/pserv.conf ${WRKSRC}/sources/main.h >@@ -29,7 +38,7 @@ > @${REINPLACE_CMD} "s|define LOG|undef LOG|" \ > ${WRKSRC}/sources/main.h > .endif >-.if defined(WITHOUT_PHP) >+.if !defined(WITH_PHP) > @${REINPLACE_CMD} "s|define PHP|undef PHP|" \ > ${WRKSRC}/sources/main.h > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81699
: 53987