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

(-)Makefile (-1 / +13 lines)
Lines 48-54 Link Here
48
		MULTIBYTE "Enable zend multibyte support" off \
48
		MULTIBYTE "Enable zend multibyte support" off \
49
		IPV6 "Enable ipv6 support" on \
49
		IPV6 "Enable ipv6 support" on \
50
		MAILHEAD "Enable mail header patch" off \
50
		MAILHEAD "Enable mail header patch" off \
51
		LINKTHR "Link thread lib (for threaded extensions)" off
51
		LINKTHR "Link thread lib (for threaded extensions)" off \
52
		EMBED "Build library for embedding (experimental)" off 
52
53
53
CONFLICTS=	php4-4* php5-pcre-* php5-spl-*
54
CONFLICTS=	php4-4* php5-pcre-* php5-spl-*
54
55
Lines 83-88 Link Here
83
CONFIGURE_ARGS+=--disable-cli
84
CONFIGURE_ARGS+=--disable-cli
84
.endif
85
.endif
85
86
87
.if defined(WITH_EMBED)
88
PHP_SAPI+=	embed
89
CONFIGURE_ARGS+=--enable-embed=shared
90
PLIST_SUB+=	EMBED=""
91
.else
92
PLIST_SUB+=	EMBED="@comment "
93
.endif
94
86
.if !defined(WITHOUT_CGI)
95
.if !defined(WITHOUT_CGI)
87
PHP_SAPI+=	cgi
96
PHP_SAPI+=	cgi
88
PLIST_SUB+=	CGI=""
97
PLIST_SUB+=	CGI=""
Lines 192-197 Link Here
192
.if defined(WITH_FPM)
201
.if defined(WITH_FPM)
193
	@${CP} -n ${PREFIX}/etc/php-fpm.conf.default ${PREFIX}/etc/php-fpm.conf
202
	@${CP} -n ${PREFIX}/etc/php-fpm.conf.default ${PREFIX}/etc/php-fpm.conf
194
.endif
203
.endif
204
.if defined(WITH_EMBED)
205
	@(cd ${WRKSRC} && ${MAKE} install-sapi)
206
.endif
195
.if defined(WITH_APACHE)
207
.if defined(WITH_APACHE)
196
	@${CAT} ${PKGMESSAGE}
208
	@${CAT} ${PKGMESSAGE}
197
.endif
209
.endif
(-)pkg-plist (+1 lines)
Lines 1-4 Link Here
1
%%CLI%%bin/php
1
%%CLI%%bin/php
2
%%EMBED%%lib/libphp5.so
2
%%CGI%%bin/php-cgi
3
%%CGI%%bin/php-cgi
3
bin/php-config
4
bin/php-config
4
bin/phpize
5
bin/phpize

Return to bug 159084