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

(-)php4/Makefile (-12 / +29 lines)
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)
(-)php4/pkg-message (-2 / +2 lines)
Lines 2-9 Link Here
2
2
3
You have installed the php4 package.
3
You have installed the php4 package.
4
4
5
Have a look at the php4 port if you need additional extensions
5
Have a look at the php4 port if you need additional extensions other than
6
other than ctype, MySQL, PCRE, POSIX, session, tokenizer, XML and ZLIB.
6
CTYPE, MYSQL, OVERLOAD, PCRE, POSIX, SESSION, TOKENIZER, XML and ZLIB.
7
7
8
You can find it at
8
You can find it at
9
ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/lang/php4.tar
9
ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/lang/php4.tar
(-)php4/scripts/configure.php (-1 / +2 lines)
Lines 54-59 Link Here
54
OPENLDAP	"OpenLDAP support" ${WITH_OPENLDAP:-OFF} \
54
OPENLDAP	"OpenLDAP support" ${WITH_OPENLDAP:-OFF} \
55
OPENSSL		"OpenSSL support" ${WITH_OPENSSL:-OFF} \
55
OPENSSL		"OpenSSL support" ${WITH_OPENSSL:-OFF} \
56
ORACLE		"Oracle support" ${WITH_ORACLE:-OFF} \
56
ORACLE		"Oracle support" ${WITH_ORACLE:-OFF} \
57
OVERLOAD	"user-space object overloading support" ${WITH_OVERLOAD:-OFF} \
57
PCNTL		"pcntl support (CLI only)" ${WITH_PCNTL:-OFF} \
58
PCNTL		"pcntl support (CLI only)" ${WITH_PCNTL:-OFF} \
58
PCRE		"Perl Compatible Regular Expression support" ${WITH_PCRE:-OFF} \
59
PCRE		"Perl Compatible Regular Expression support" ${WITH_PCRE:-OFF} \
59
PDFLIB		"PDFlib support" ${WITH_PDFLIB:-OFF} \
60
PDFLIB		"PDFlib support" ${WITH_PDFLIB:-OFF} \
Lines 72-78 Link Here
72
SYSVSHM		"System V shared memory support" ${WITH_SYSVSHM:-OFF} \
73
SYSVSHM		"System V shared memory support" ${WITH_SYSVSHM:-OFF} \
73
TOKENIZER	"tokenizer support" ${WITH_TOKENIZER:-OFF} \
74
TOKENIZER	"tokenizer support" ${WITH_TOKENIZER:-OFF} \
74
UNIXODBC	"unixODBC support" ${WITH_UNIXODBC:-OFF} \
75
UNIXODBC	"unixODBC support" ${WITH_UNIXODBC:-OFF} \
75
WDDX		"WDDX support" ${WITH_WDDX:-OFF} \
76
WDDX		"WDDX support (implies XML)" ${WITH_WDDX:-OFF} \
76
XML		"XML support" ${WITH_XML:-OFF} \
77
XML		"XML support" ${WITH_XML:-OFF} \
77
XMLRPC		"XMLRPC-EPI support" ${WITH_XMLRPC:-OFF} \
78
XMLRPC		"XMLRPC-EPI support" ${WITH_XMLRPC:-OFF} \
78
XSLT		"XSLT Sablotron support" ${WITH_XSLT:-OFF} \
79
XSLT		"XSLT Sablotron support" ${WITH_XSLT:-OFF} \
(-)php4/scripts/php4_options (+1 lines)
Lines 34-39 Link Here
34
WITH_OPENLDAP=OFF
34
WITH_OPENLDAP=OFF
35
WITH_OPENSSL=OFF
35
WITH_OPENSSL=OFF
36
WITH_ORACLE=OFF
36
WITH_ORACLE=OFF
37
WITH_OVERLOAD=ON
37
WITH_PCNTL=OFF
38
WITH_PCNTL=OFF
38
WITH_PCRE=ON
39
WITH_PCRE=ON
39
WITH_PDFLIB=OFF
40
WITH_PDFLIB=OFF

Return to bug 54061