FreeBSD Bugzilla – Attachment 127288 Details for
Bug 171092
[patch] mail/squirrelmail - add OPTIONS support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sq_options.patch
sq_options.patch (text/plain), 1.47 KB, created by
Adam Weinberger
on 2012-08-26 21:20:01 UTC
(
hide
)
Description:
sq_options.patch
Filename:
MIME Type:
Creator:
Adam Weinberger
Created:
2012-08-26 21:20:01 UTC
Size:
1.47 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 303206) >+++ Makefile (working copy) >@@ -24,14 +24,9 @@ > USE_BZIP2= yes > USE_GETTEXT= yes > >-.ifdef WITH_DATABASE >-RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB >-.endif >+OPTIONS_DEFINE= DATABASE LDAP >+DATABASE_DESC= PEAR database support (must also intall a driver) > >-.ifdef WITH_LDAP >-USE_PHP+= ldap >-.endif >- > .ifndef WITHOUT_WWWDIR > SQUIRRELDIR?= ${PREFIX}/www/${PORTNAME} > .else >@@ -48,15 +43,26 @@ > > CONFLICTS= squirreloutlook-[0-9]* > >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MDATABASE} >+RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB >+.endif >+ >+.if ${PORT_OPTIONS:MLDAP} >+USE_PHP+= ldap >+.endif >+ > pre-everything:: > @${ECHO_CMD} "SquirrelMail is installed into ${SQUIRRELDIR}" > @${ECHO_CMD} "To use the old location ${PREFIX}/${PORTNAME} define" > @${ECHO_CMD} "WITHOUT_WWWDIR when patching or installing" > @${ECHO_CMD} >- @${ECHO_CMD} "Use WITH_LDAP to ensure PHP LDAP support is installed" >- @${ECHO_CMD} "Use WITH_DATABASE to ensure PEAR framework for database support is installed" >- @${ECHO_CMD} " (note that this does not install the database specific PEAR support, e.g. MySQL)" >+.if ${PORT_OPTIONS:MDATABASE} >+ @${ECHO_CMD} "Note that the PEAR database framework still requires you to install a" >+ @${ECHO_CMD} "database-specific PEAR driver, e.g. MySQL." > @${ECHO_CMD} >+.endif > > post-patch: > .ifndef PATCH_DEBUG
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 171092
: 127288