FreeBSD Bugzilla – Attachment 175628 Details for
Bug 213384
[patch] www/zend-framework: Make memcache dependency optional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make memcache dependency optional
zend-framework.diff (text/plain), 1.10 KB, created by
Fredrik Eriksson
on 2016-10-11 16:39:27 UTC
(
hide
)
Description:
Patch to make memcache dependency optional
Filename:
MIME Type:
Creator:
Fredrik Eriksson
Created:
2016-10-11 16:39:27 UTC
Size:
1.10 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 423765) >+++ Makefile (working copy) >@@ -21,7 +21,7 @@ > > SUB_FILES= pkg-message > >-OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP >+OPTIONS_DEFINE= DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE > OPTIONS_DEFAULT=REQPHP > > MYSQL_DESC= Enable MySQL PDO support >@@ -32,6 +32,7 @@ > SQLITE_DESC= Enable SQLite v3 PDO support > REQPHP_DESC= Install required PHP dependencies > OPTPHP_DESC= Install optional PHP dependencies >+MEMCACHE_DESC= Enable memcache support > > PORTDOCS= CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md > >@@ -47,13 +48,18 @@ > .else > USE_PHP+= sqlite3 > .endif >-RUN_DEPENDS+= pecl-memcache>=0:databases/pecl-memcache \ >- pecl-memcached>=0:databases/pecl-memcached >+ > .endif >+ > .if ${PORT_OPTIONS:MOPTPHP} > USE_PHP+= bcmath bitset json posix > .endif > >+.if ${PORT_OPTIONS:MMCACHE} >+RUN_DEPENDS+= pecl-memcache>=0:databases/pecl-memcache \ >+ pecl-memcached>=0:databases/pecl-memcached >+.endif >+ > .if ${PORT_OPTIONS:MMYSQL} > USE_PHP+= pdo_mysql > .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 213384
: 175628