View | Details | Raw Unified | Return to bug 213384
Collapse All | Expand All

(-)Makefile (-3 / +9 lines)
Lines 21-27 Link Here
21
21
22
SUB_FILES=	pkg-message
22
SUB_FILES=	pkg-message
23
23
24
OPTIONS_DEFINE=	DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP
24
OPTIONS_DEFINE=	DOCS MYSQL MYSQLI DBLIB PGSQL ODBC SQLITE REQPHP OPTPHP MEMCACHE
25
OPTIONS_DEFAULT=REQPHP
25
OPTIONS_DEFAULT=REQPHP
26
26
27
MYSQL_DESC=	Enable MySQL PDO support
27
MYSQL_DESC=	Enable MySQL PDO support
Lines 32-37 Link Here
32
SQLITE_DESC=	Enable SQLite v3 PDO support
32
SQLITE_DESC=	Enable SQLite v3 PDO support
33
REQPHP_DESC=	Install required PHP dependencies
33
REQPHP_DESC=	Install required PHP dependencies
34
OPTPHP_DESC=	Install optional PHP dependencies
34
OPTPHP_DESC=	Install optional PHP dependencies
35
MEMCACHE_DESC= Enable memcache support
35
36
36
PORTDOCS=	CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
37
PORTDOCS=	CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
37
38
Lines 47-59 Link Here
47
.else
48
.else
48
USE_PHP+=	sqlite3
49
USE_PHP+=	sqlite3
49
.endif
50
.endif
50
RUN_DEPENDS+=	pecl-memcache>=0:databases/pecl-memcache \
51
51
		pecl-memcached>=0:databases/pecl-memcached
52
.endif
52
.endif
53
53
.if ${PORT_OPTIONS:MOPTPHP}
54
.if ${PORT_OPTIONS:MOPTPHP}
54
USE_PHP+=	bcmath bitset json posix
55
USE_PHP+=	bcmath bitset json posix
55
.endif
56
.endif
56
57
58
.if ${PORT_OPTIONS:MMCACHE}
59
RUN_DEPENDS+=	pecl-memcache>=0:databases/pecl-memcache \
60
		pecl-memcached>=0:databases/pecl-memcached
61
.endif
62
57
.if ${PORT_OPTIONS:MMYSQL}
63
.if ${PORT_OPTIONS:MMYSQL}
58
USE_PHP+=	pdo_mysql
64
USE_PHP+=	pdo_mysql
59
.endif
65
.endif

Return to bug 213384