Lines 7-15
Link Here
|
7 |
# There are many ways to select which extensions you want to enable, either |
7 |
# There are many ways to select which extensions you want to enable, either |
8 |
# in interactive mode or in batch mode. |
8 |
# in interactive mode or in batch mode. |
9 |
# |
9 |
# |
10 |
# By default, the enabled extensions are: CTYPE, MYSQL, PCRE, POSIX, SESSION, |
10 |
# By default, the enabled extensions are: CTYPE, MYSQL, OVERLOAD, PCRE, POSIX, |
11 |
# TOKENIZER, XML and ZLIB. This behaviour can be changed overriding the |
11 |
# SESSION, TOKENIZER, XML and ZLIB. This behaviour can be changed overriding |
12 |
# PHP4_OPTIONS variable (e.g. PHP4_OPTIONS="EXT1 EXT2 EXT3"). |
12 |
# the PHP4_OPTIONS variable (e.g. PHP4_OPTIONS="EXT1 EXT2 EXT3"). |
13 |
# |
13 |
# |
14 |
# Another way is to use the WITH_<EXT> and WITHOUT_<EXT> knobs, for additional |
14 |
# Another way is to use the WITH_<EXT> and WITHOUT_<EXT> knobs, for additional |
15 |
# and default extensions respectively (implies batch mode). |
15 |
# and default extensions respectively (implies batch mode). |
Lines 71-76
Link Here
|
71 |
--with-zlib-dir=/usr \ |
71 |
--with-zlib-dir=/usr \ |
72 |
--disable-all |
72 |
--disable-all |
73 |
|
73 |
|
|
|
74 |
.if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php" |
75 |
CONFIGURE_ARGS+=--with-regex=php |
76 |
.else |
77 |
.if ${WITH_REGEX_TYPE} == "system" |
78 |
CONFIGURE_ARGS+=--with-regex=system |
79 |
.else |
80 |
.if ${WITH_REGEX_TYPE} == "apache" |
81 |
CONFIGURE_ARGS+=--with-regex=apache |
82 |
.endif |
83 |
.endif |
84 |
.endif |
85 |
|
74 |
EXT_DIR= 20020429 |
86 |
EXT_DIR= 20020429 |
75 |
SAPI_FILE= "@comment " |
87 |
SAPI_FILE= "@comment " |
76 |
|
88 |
|
Lines 107-115
Link Here
|
107 |
ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DBASE DBX DOMXML \ |
119 |
ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DBASE DBX DOMXML \ |
108 |
DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP HYPERWAVE \ |
120 |
DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP HYPERWAVE \ |
109 |
ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE MCRYPT MHASH \ |
121 |
ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE MCRYPT MHASH \ |
110 |
MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE PCNTL PCRE \ |
122 |
MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE OVERLOAD PCNTL \ |
111 |
PDFLIB POSIX POSTGRESQL PSPELL READLINE RECODE SESSION SHMOP \ |
123 |
PCRE PDFLIB POSIX POSTGRESQL PSPELL READLINE RECODE SESSION \ |
112 |
SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM SYSVSHM TOKENIZER \ |
124 |
SHMOP SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM SYSVSHM TOKENIZER \ |
113 |
UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB |
125 |
UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB |
114 |
|
126 |
|
115 |
.for opt in ${ALL_OPTIONS} |
127 |
.for opt in ${ALL_OPTIONS} |
Lines 161-167
Link Here
|
161 |
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work |
173 |
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work |
162 |
PHP4_OPTFILE?= ${HOME}/php4_options |
174 |
PHP4_OPTFILE?= ${HOME}/php4_options |
163 |
|
175 |
|
164 |
PHP4_OPTIONS?= CTYPE MYSQL PCRE POSIX SESSION TOKENIZER XML ZLIB |
176 |
PHP4_OPTIONS?= CTYPE MYSQL OVERLOAD PCRE POSIX SESSION TOKENIZER XML ZLIB |
165 |
|
177 |
|
166 |
.for opt in ${ALL_OPTIONS} |
178 |
.for opt in ${ALL_OPTIONS} |
167 |
.if defined(WITH_${opt}) |
179 |
.if defined(WITH_${opt}) |
Lines 202-219
Link Here
|
202 |
WITH_ICONV_DEP= yes |
214 |
WITH_ICONV_DEP= yes |
203 |
.endif |
215 |
.endif |
204 |
|
216 |
|
205 |
.if defined(WITH_POSTGRESQL) |
|
|
206 |
WITH_OPENSSL_DEP= yes |
207 |
.endif |
208 |
|
209 |
.if defined(WITH_SNMP) |
217 |
.if defined(WITH_SNMP) |
210 |
WITH_OPENSSL= yes |
218 |
WITH_OPENSSL= yes |
211 |
.endif |
219 |
.endif |
212 |
|
220 |
|
213 |
.if defined(WITH_WDDX) || defined(WITH_XMLRPC) || defined(WITH_XSLT) |
221 |
.if defined(WITH_XMLRPC) || defined(WITH_XSLT) |
214 |
WITH_XML_DEP= yes |
222 |
WITH_XML_DEP= yes |
215 |
.endif |
223 |
.endif |
216 |
|
224 |
|
|
|
225 |
.if defined(WITH_WDDX) |
226 |
WITH_XML= yes |
227 |
.endif |
228 |
|
217 |
.if defined(WITH_BCMATH) |
229 |
.if defined(WITH_BCMATH) |
218 |
CONFIGURE_ARGS+=--enable-bcmath |
230 |
CONFIGURE_ARGS+=--enable-bcmath |
219 |
.endif |
231 |
.endif |
Lines 296-301
Link Here
|
296 |
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg |
308 |
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg |
297 |
CONFIGURE_ARGS+=--with-gd \ |
309 |
CONFIGURE_ARGS+=--with-gd \ |
298 |
--enable-gd-native-ttf \ |
310 |
--enable-gd-native-ttf \ |
|
|
311 |
--enable-gd-jis-conv \ |
299 |
--with-freetype-dir=${LOCALBASE} \ |
312 |
--with-freetype-dir=${LOCALBASE} \ |
300 |
--with-jpeg-dir=${LOCALBASE} \ |
313 |
--with-jpeg-dir=${LOCALBASE} \ |
301 |
--with-png-dir=${LOCALBASE} |
314 |
--with-png-dir=${LOCALBASE} |
Lines 444-449
Link Here
|
444 |
BUILD_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client |
457 |
BUILD_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client |
445 |
RUN_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client |
458 |
RUN_DEPENDS+= ${LOCALBASE}/oracle7/lib/libcore3.a:${PORTSDIR}/databases/oracle7-client |
446 |
CONFIGURE_ARGS+=--with-oracle=${LOCALBASE}/oracle7 |
459 |
CONFIGURE_ARGS+=--with-oracle=${LOCALBASE}/oracle7 |
|
|
460 |
.endif |
461 |
|
462 |
.if defined(WITH_OVERLOAD) |
463 |
CONFIGURE_ARGS+=--enable-overload |
447 |
.endif |
464 |
.endif |
448 |
|
465 |
|
449 |
.if defined(WITH_PCNTL) |
466 |
.if defined(WITH_PCNTL) |