|
Lines 18-25
Link Here
|
| 18 |
USE_PHP_BUILD= yes |
18 |
USE_PHP_BUILD= yes |
| 19 |
|
19 |
|
| 20 |
CONFIGURE_ARGS= --enable-eaccelerator=shared \ |
20 |
CONFIGURE_ARGS= --enable-eaccelerator=shared \ |
|
|
21 |
--with-eaccelerator-shared-memory \ |
| 21 |
--with-eaccelerator-sessions \ |
22 |
--with-eaccelerator-sessions \ |
| 22 |
--with-eaccelerator-userid=www |
23 |
--with-eaccelerator-userid=${WWW_UID} |
| 23 |
|
24 |
|
| 24 |
USE_BZIP2= yes |
25 |
USE_BZIP2= yes |
| 25 |
SUB_FILES= pkg-message |
26 |
SUB_FILES= pkg-message |
|
Lines 29-34
Link Here
|
| 29 |
|
30 |
|
| 30 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.pre.mk> |
| 31 |
|
32 |
|
|
|
33 |
WWW_UID!= (${GREP} "^www:" /etc/passwd || ${ECHO} "::0") | ${CUT} -d: -f3 |
| 34 |
|
| 32 |
.if ${PHP_VER} == 5 |
35 |
.if ${PHP_VER} == 5 |
| 33 |
CONFIGURE_ARGS+= --without-eaccelerator-encoder |
36 |
CONFIGURE_ARGS+= --without-eaccelerator-encoder |
| 34 |
PLIST_SUB+= ENCODER="@comment " |
37 |
PLIST_SUB+= ENCODER="@comment " |