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

(-)Makefile (-25 / +29 lines)
Lines 20-25 Link Here
20
20
21
USE_BZIP2=	yes
21
USE_BZIP2=	yes
22
MAKE_JOBS_SAFE=	yes
22
MAKE_JOBS_SAFE=	yes
23
NO_OPTIONS_SORT=yes
23
.if !defined(PKGNAMESUFFIX)
24
.if !defined(PKGNAMESUFFIX)
24
USE_AUTOTOOLS=	autoconf
25
USE_AUTOTOOLS=	autoconf
25
26
Lines 39-55 Link Here
39
40
40
USE_GNOME=	libxml2
41
USE_GNOME=	libxml2
41
42
42
OPTIONS=	CLI "Build CLI version" on \
43
OPTIONS_DEFINE=	CLI CGI FPM APACHE AP2FILTER DEBUG SUHOSIN MULTIBYTE IPV6 MAILHEAD LINKTHR
43
		CGI "Build CGI version" on \
44
OPTIONS_DEFAULT=CLI CGI SUHOSIN IPV6
44
		FPM "Build FPM version (experimental)" off \
45
45
		APACHE "Build Apache module" off \
46
CLI_DESC=	Build CLI version
46
		AP2FILTER " Use Apache 2.x filter interface (experimental)" off \
47
CGI_DESC=	Build CGI version
47
		DEBUG "Enable debug" off \
48
FPM_DESC=	Build FPM version
48
		SUHOSIN "Enable Suhosin protection system" on \
49
APACHE_DESC=	Build Apache module
49
		MULTIBYTE "Enable zend multibyte support" off \
50
AP2FILTER_DESC=	Use Apache 2.x filter interface (experimental)
50
		IPV6 "Enable ipv6 support" on \
51
DEBUG_DESC=	Enable debug
51
		MAILHEAD "Enable mail header patch" off \
52
SUHOSIN_DESC=	Enable Suhosin protection system
52
		LINKTHR "Link thread lib (for threaded extensions)" off
53
MULTIBYTE_DESC=	Enable zend multibyte support
54
IPV6_DESC=	Enable ipv6 support
55
MAILHEAD_DESC=	Enable mail header patch
56
LINKTHR_DESC=	Link thread lib (for threaded extensions)
53
57
54
CONFLICTS=	php52-5* php5-5*
58
CONFLICTS=	php52-5* php5-5*
55
59
Lines 62-68 Link Here
62
PATCH_SITES+=	${MASTER_SITE_LOCAL}
66
PATCH_SITES+=	${MASTER_SITE_LOCAL}
63
PATCH_SITE_SUBDIR=	ale
67
PATCH_SITE_SUBDIR=	ale
64
68
65
.if !defined(WITHOUT_SUHOSIN)
69
.if ${PORT_OPTIONS:MSUHOSIN}
66
PATCHFILES+=	suhosin-patch-5.3.x-0.9.10.patch.gz
70
PATCHFILES+=	suhosin-patch-5.3.x-0.9.10.patch.gz
67
PATCH_SITES+=	http://download.suhosin.org/:suhosin
71
PATCH_SITES+=	http://download.suhosin.org/:suhosin
68
PLIST_SUB+=	SUHOSIN=""
72
PLIST_SUB+=	SUHOSIN=""
Lines 70-81 Link Here
70
PLIST_SUB+=	SUHOSIN="@comment "
74
PLIST_SUB+=	SUHOSIN="@comment "
71
.endif
75
.endif
72
76
73
.if defined(WITH_MAILHEAD)
77
.if ${PORT_OPTIONS:MMAILHEAD}
74
PATCHFILES+=	php-5.3.x-mail-header.patch:mail
78
PATCHFILES+=	php-5.3.x-mail-header.patch:mail
75
PATCH_SITES+=	http://choon.net/opensource/php/:mail
79
PATCH_SITES+=	http://choon.net/opensource/php/:mail
76
.endif
80
.endif
77
81
78
.if !defined(WITHOUT_CLI)
82
.if ${PORT_OPTIONS:MCLI}
79
PHP_SAPI+=	cli
83
PHP_SAPI+=	cli
80
PLIST_SUB+=	CLI=""
84
PLIST_SUB+=	CLI=""
81
MAN1+=		php.1
85
MAN1+=		php.1
Lines 84-90 Link Here
84
CONFIGURE_ARGS+=--disable-cli
88
CONFIGURE_ARGS+=--disable-cli
85
.endif
89
.endif
86
90
87
.if !defined(WITHOUT_CGI)
91
.if ${PORT_OPTIONS:MCGI}
88
PHP_SAPI+=	cgi
92
PHP_SAPI+=	cgi
89
PLIST_SUB+=	CGI=""
93
PLIST_SUB+=	CGI=""
90
.else
94
.else
Lines 92-98 Link Here
92
CONFIGURE_ARGS+=--disable-cgi
96
CONFIGURE_ARGS+=--disable-cgi
93
.endif
97
.endif
94
98
95
.if defined(WITH_FPM)
99
.if ${PORT_OPTIONS:MFPM}
96
PHP_SAPI+=	fpm
100
PHP_SAPI+=	fpm
97
MAN8+=		php-fpm.8
101
MAN8+=		php-fpm.8
98
USE_RC_SUBR+=	php-fpm
102
USE_RC_SUBR+=	php-fpm
Lines 104-114 Link Here
104
PLIST_SUB+=	FPM="@comment "
108
PLIST_SUB+=	FPM="@comment "
105
.endif
109
.endif
106
110
107
.if defined(WITH_APACHE)
111
.if ${PORT_OPTIONS:MAPACHE}
108
PHP_SAPI+=	mod
112
PHP_SAPI+=	mod
109
USE_APACHE=	20+
113
USE_APACHE=	20+
110
.include "${PORTSDIR}/Mk/bsd.apache.mk"
114
.include "${PORTSDIR}/Mk/bsd.apache.mk"
111
.if defined(WITH_AP2FILTER)
115
.if ${PORT_OPTIONS:MAP2FILTER}
112
CONFIGURE_ARGS+=--with-apxs2filter=${APXS}
116
CONFIGURE_ARGS+=--with-apxs2filter=${APXS}
113
.else
117
.else
114
CONFIGURE_ARGS+=--with-apxs2=${APXS}
118
CONFIGURE_ARGS+=--with-apxs2=${APXS}
Lines 140-165 Link Here
140
		pthreads_working="yes" \
144
		pthreads_working="yes" \
141
		lt_cv_path_SED="sed"
145
		lt_cv_path_SED="sed"
142
146
143
.if defined(WITH_LINKTHR)
147
.if ${PORT_OPTIONS:MLINKTHR}
144
CONFIGURE_ENV+=	LIBS="${LIBS} ${PTHREAD_LIBS}"
148
CONFIGURE_ENV+=	LIBS="${LIBS} ${PTHREAD_LIBS}"
145
.endif
149
.endif
146
150
147
.if defined(WITH_DEBUG)
151
.if ${PORT_OPTIONS:MDEBUG}
148
CONFIGURE_ARGS+=--enable-debug
152
CONFIGURE_ARGS+=--enable-debug
149
.endif
153
.endif
150
154
151
.if defined(WITH_MULTIBYTE)
155
.if ${PORT_OPTIONS:MMULTIBYTE}
152
CONFIGURE_ARGS+=--enable-zend-multibyte
156
CONFIGURE_ARGS+=--enable-zend-multibyte
153
.endif
157
.endif
154
158
155
.if defined(WITHOUT_IPV6)
159
.if empty(PORT_OPTIONS:MIPV6)
156
CONFIGURE_ARGS+=--disable-ipv6
160
CONFIGURE_ARGS+=--disable-ipv6
157
.endif
161
.endif
158
162
159
post-patch:
163
post-patch:
160
	@${TOUCH} ${WRKSRC}/ext/php_config.h
164
	@${TOUCH} ${WRKSRC}/ext/php_config.h
161
	@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*
165
	@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*
162
.if defined(WITH_FPM)
166
.if ${PORT_OPTIONS:MFPM}
163
	@${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \
167
	@${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \
164
		${WRKSRC}/sapi/fpm/php-fpm.conf.in
168
		${WRKSRC}/sapi/fpm/php-fpm.conf.in
165
.endif
169
.endif
Lines 185-194 Link Here
185
	@${INSTALL_DATA} ${WRKSRC}/php.ini-production ${PREFIX}/etc
189
	@${INSTALL_DATA} ${WRKSRC}/php.ini-production ${PREFIX}/etc
186
	@${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc
190
	@${INSTALL_DATA} ${WRKDIR}/php.conf ${PREFIX}/etc
187
	@${TOUCH} ${PREFIX}/include/php/ext/php_config.h
191
	@${TOUCH} ${PREFIX}/include/php/ext/php_config.h
188
.if defined(WITH_FPM)
192
.if ${PORT_OPTIONS:MFPM}
189
	@${CP} -n ${PREFIX}/etc/php-fpm.conf.default ${PREFIX}/etc/php-fpm.conf
193
	@${CP} -n ${PREFIX}/etc/php-fpm.conf.default ${PREFIX}/etc/php-fpm.conf
190
.endif
194
.endif
191
.if defined(WITH_APACHE)
195
.if ${PORT_OPTIONS:MAPACHE}
192
	@${CAT} ${PKGMESSAGE}
196
	@${CAT} ${PKGMESSAGE}
193
.endif
197
.endif
194
198
(-)Makefile.ext (-36 / +62 lines)
Lines 40-51 Link Here
40
.if ${PHP_MODNAME} == "dba"
40
.if ${PHP_MODNAME} == "dba"
41
CONFIGURE_ARGS+=--enable-dba
41
CONFIGURE_ARGS+=--enable-dba
42
42
43
OPTIONS=	CDB "cdb database support" on \
43
OPTIONS_DEFINE=	CDB DB4 GDBM QDBM INIFILE FLATFILE
44
		DB4 "Berkeley DB4 support" off \
44
OPTIONS_DEFAULT=CDB INIFILE FLATFILE
45
		GDBM "GDBM database support" off \
45
46
		QDBM "QDBM database support" off \
46
CDB_DESC=	cdb database support
47
		INIFILE "INI file support" on \
47
DB4_DESC=	Berkeley DB4 support
48
		FLATFILE "flatfile support" on
48
GDBM_DESC=	GDBM database support
49
QDBM_DESC=	QDBM database support
50
INIFILE_DESC=	INI file support
51
FLATFILE_DESC=	flatfile support
49
52
50
PHP_HEADER_DIRS=	libcdb libflatfile libinifile
53
PHP_HEADER_DIRS=	libcdb libflatfile libinifile
51
.endif
54
.endif
Lines 98-106 Link Here
98
CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE}
101
CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE}
99
.	endif
102
.	endif
100
103
101
OPTIONS=	T1LIB "Include T1lib support" on \
104
OPTIONS_DEFINE=	T1LIB TRUETYPE JIS
102
		TRUETYPE "Enable TrueType string function" on \
105
OPTIONS_DEFAULT=T1LIB TRUETYPE
103
		JIS "Enable JIS-mapped Japanese font support" off
106
107
T1LIB_DESC=	Include T1lib support
108
TRUETYPE_DESC=	Enable TrueType string function
109
JIS_DESC=	Enable JIS-mapped Japanese font support
104
110
105
PHP_HEADER_DIRS=libgd
111
PHP_HEADER_DIRS=libgd
106
.endif
112
.endif
Lines 166-172 Link Here
166
CONFIGURE_ARGS+=--enable-mbstring \
172
CONFIGURE_ARGS+=--enable-mbstring \
167
		--with-pcre-dir=${LOCALBASE}
173
		--with-pcre-dir=${LOCALBASE}
168
174
169
OPTIONS=	REGEX "Enable multibyte regex support" on
175
OPTIONS_DEFINE=	REGEX
176
OPTIONS_DEFAULT=REGEX
177
178
REGEX_DESC=	Enable multibyte regex support
170
179
171
PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
180
PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
172
.endif
181
.endif
Lines 186-202 Link Here
186
.endif
195
.endif
187
196
188
.if ${PHP_MODNAME} == "mysql"
197
.if ${PHP_MODNAME} == "mysql"
189
OPTIONS=	MYSQLND "Use MySQL Native Driver" on
198
OPTIONS_DEFINE=	MYSQLND
199
OPTIONS_DEFAULT=MYSQLND
200
201
MYSQLND_DESC=	Use MySQL Native Driver"
190
.endif
202
.endif
191
203
192
.if ${PHP_MODNAME} == "mysqli"
204
.if ${PHP_MODNAME} == "mysqli"
193
OPTIONS=	MYSQLND "Use MySQL Native Driver" on
205
OPTIONS_DEFINE=	MYSQLND
206
OPTIONS_DEFAULT=MYSQLND
207
208
MYSQLND_DESC=	Use MySQL Native Driver"   
194
.endif
209
.endif
195
210
196
.if ${PHP_MODNAME} == "odbc"
211
.if ${PHP_MODNAME} == "odbc"
197
CONFIGURE_ARGS+=--enable-odbc
212
CONFIGURE_ARGS+=--enable-odbc
198
213
199
OPTIONS=	IODBC "Use the iODBC driver instead of unixODBC" off
214
OPTIONS_DEFINE=	IODBC
215
216
IODBC_DESC=	Use the iODBC driver instead of unixODBC
200
.endif
217
.endif
201
218
202
.if ${PHP_MODNAME} == "openssl"
219
.if ${PHP_MODNAME} == "openssl"
Lines 220-226 Link Here
220
USE_PHP=	pdo
237
USE_PHP=	pdo
221
USE_PHP_BUILD=	yes
238
USE_PHP_BUILD=	yes
222
239
223
OPTIONS=	MSSQL	"Enable Microsoft SQL Server support" off
240
OPTIONS_DEFINE=	MSSQL
241
242
MSSQL_DESC=	Enable Microsoft SQL Server support
224
.endif
243
.endif
225
244
226
.if ${PHP_MODNAME} == "pdo_firebird"
245
.if ${PHP_MODNAME} == "pdo_firebird"
Lines 233-246 Link Here
233
.endif
252
.endif
234
253
235
.if ${PHP_MODNAME} == "pdo_mysql"
254
.if ${PHP_MODNAME} == "pdo_mysql"
236
OPTIONS=	MYSQLND "Use MySQL Native Driver" on
255
OPTIONS_DEFINE=	MYSQLND
256
OPTIONS_DEFAULT=MYSQLND
257
258
MYSQLND_DESC=	Use MySQL Native Driver"   
237
259
238
USE_PHP=	pdo
260
USE_PHP=	pdo
239
USE_PHP_BUILD=	yes
261
USE_PHP_BUILD=	yes
240
.endif
262
.endif
241
263
242
.if ${PHP_MODNAME} == "pdo_odbc"
264
.if ${PHP_MODNAME} == "pdo_odbc"
243
OPTIONS=	IODBC "Use the iODBC driver instead of unixODBC" off
265
OPTIONS_DEFINE= IODBC
266
267
IODBC_DESC=     Use the iODBC driver instead of unixODBC
244
268
245
USE_PHP=	pdo
269
USE_PHP=	pdo
246
USE_PHP_BUILD=	yes
270
USE_PHP_BUILD=	yes
Lines 347-353 Link Here
347
USE_PHP_BUILD=	yes
371
USE_PHP_BUILD=	yes
348
PHP_HEADER_DIRS=libsqlite/src
372
PHP_HEADER_DIRS=libsqlite/src
349
373
350
OPTIONS=	UTF8 "Enable UTF-8 support" off
374
OPTIONS_DEFINE=	UTF8
375
376
UTF8_DESC=	Enable UTF-8 support
351
.endif
377
.endif
352
378
353
.if ${PHP_MODNAME} == "sqlite3"
379
.if ${PHP_MODNAME} == "sqlite3"
Lines 452-509 Link Here
452
.include <bsd.port.pre.mk>
478
.include <bsd.port.pre.mk>
453
479
454
.if ${PHP_MODNAME} == "dba"
480
.if ${PHP_MODNAME} == "dba"
455
.	if defined(WITHOUT_CDB)
481
.	if empty(PORT_OPTIONS:MCDB)
456
CONFIGURE_ARGS+=--without-cdb
482
CONFIGURE_ARGS+=--without-cdb
457
.	endif
483
.	endif
458
.	if defined(WITH_DB4)
484
.	if ${PORT_OPTIONS:MDB4}
459
CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
485
CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
460
486
461
USE_BDB=		40+
487
USE_BDB=		40+
462
WITH_BDB_HIGHEST=	yes
488
WITH_BDB_HIGHEST=	yes
463
.	endif
489
.	endif
464
.	if defined(WITH_GDBM)
490
.	if ${PORT_OPTIONS:MGDBM}
465
LIB_DEPENDS+=	gdbm.4:${PORTSDIR}/databases/gdbm
491
LIB_DEPENDS+=	gdbm.4:${PORTSDIR}/databases/gdbm
466
492
467
CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE}
493
CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE}
468
.	endif
494
.	endif
469
.	if defined(WITH_QDBM)
495
.	if ${PORT_OPTIONS:MQDBM}
470
LIB_DEPENDS+=	qdbm.14:${PORTSDIR}/databases/qdbm
496
LIB_DEPENDS+=	qdbm.14:${PORTSDIR}/databases/qdbm
471
497
472
CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE}
498
CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE}
473
.	endif
499
.	endif
474
.	if defined(WITHOUT_INIFILE)
500
.	if empty(PORT_OPTIONS:MINIFILE)
475
CONFIGURE_ARGS+=--disable-inifile
501
CONFIGURE_ARGS+=--disable-inifile
476
.	endif
502
.	endif
477
.	if defined(WITHOUT_FLATFILE)
503
.	if empty(PORT_OPTIONS:MFLATFILE)
478
CONFIGURE_ARGS+=--disable-flatfile
504
CONFIGURE_ARGS+=--disable-flatfile
479
.	endif
505
.	endif
480
.endif
506
.endif
481
507
482
.if ${PHP_MODNAME} == "gd"
508
.if ${PHP_MODNAME} == "gd"
483
.	if !defined(WITHOUT_T1LIB)
509
.	if ${PORT_OPTIONS:MT1LIB}
484
LIB_DEPENDS+=	t1.5:${PORTSDIR}/devel/t1lib
510
LIB_DEPENDS+=	t1.5:${PORTSDIR}/devel/t1lib
485
511
486
CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE}
512
CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE}
487
.	endif
513
.	endif
488
.	if !defined(WITHOUT_TRUETYPE)
514
.	if ${PORT_OPTIONS:MTRUETYPE}
489
CONFIGURE_ARGS+=--enable-gd-native-ttf
515
CONFIGURE_ARGS+=--enable-gd-native-ttf
490
.	endif
516
.	endif
491
.	if defined(WITH_JIS)
517
.	if ${PORT_OPTIONS:MJIS}
492
CONFIGURE_ARGS+=--enable-gd-jis-conv
518
CONFIGURE_ARGS+=--enable-gd-jis-conv
493
.	endif
519
.	endif
494
.endif
520
.endif
495
521
496
.if ${PHP_MODNAME} == "mbstring"
522
.if ${PHP_MODNAME} == "mbstring"
497
.	if defined(WITHOUT_REGEX)
523
.	if ${PORT_OPTIONS:MREGEX}
498
CONFIGURE_ARGS+=--disable-mbregex
499
.	else
500
LIB_DEPENDS+=	onig.1:${PORTSDIR}/devel/oniguruma4
524
LIB_DEPENDS+=	onig.1:${PORTSDIR}/devel/oniguruma4
501
CONFIGURE_ARGS+=--with-onig=${LOCALBASE}
525
CONFIGURE_ARGS+=--with-onig=${LOCALBASE}
526
.	else
527
CONFIGURE_ARGS+=--disable-mbregex
502
.	endif
528
.	endif
503
.endif
529
.endif
504
530
505
.if ${PHP_MODNAME} == "mysql"
531
.if ${PHP_MODNAME} == "mysql"
506
.	if defined(WITH_MYSQLND)
532
.	if ${PORT_OPTIONS:MMYSQLND}
507
CONFIGURE_ARGS+=--with-mysql=mysqlnd
533
CONFIGURE_ARGS+=--with-mysql=mysqlnd
508
.	else
534
.	else
509
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \
535
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \
Lines 514-520 Link Here
514
.endif
540
.endif
515
541
516
.if ${PHP_MODNAME} == "mysqli"
542
.if ${PHP_MODNAME} == "mysqli"
517
.	if defined(WITH_MYSQLND)
543
.	if ${PORT_OPTIONS:MMYSQLND}
518
CONFIGURE_ARGS+=--with-mysqli=mysqlnd
544
CONFIGURE_ARGS+=--with-mysqli=mysqlnd
519
.	else
545
.	else
520
CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config
546
CONFIGURE_ARGS+=--with-mysqli=${LOCALBASE}/bin/mysql_config
Lines 529-535 Link Here
529
.endif
555
.endif
530
556
531
.if ${PHP_MODNAME} == "odbc"
557
.if ${PHP_MODNAME} == "odbc"
532
.if defined(WITH_IODBC)
558
.if ${PORT_OPTIONS:MIODBC}
533
LIB_DEPENDS+=	iodbc.3:${PORTSDIR}/databases/libiodbc
559
LIB_DEPENDS+=	iodbc.3:${PORTSDIR}/databases/libiodbc
534
560
535
CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE}
561
CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE}
Lines 541-547 Link Here
541
.endif
567
.endif
542
568
543
.if ${PHP_MODNAME} == "pdo_dblib"
569
.if ${PHP_MODNAME} == "pdo_dblib"
544
.if defined(WITH_MSSQL)
570
.if ${PORT_OPTIONS:MMSSQL}
545
LIB_DEPENDS+=	sybdb.5:${PORTSDIR}/databases/freetds-msdblib
571
LIB_DEPENDS+=	sybdb.5:${PORTSDIR}/databases/freetds-msdblib
546
.else
572
.else
547
LIB_DEPENDS+=	ct.4:${PORTSDIR}/databases/freetds
573
LIB_DEPENDS+=	ct.4:${PORTSDIR}/databases/freetds
Lines 549-555 Link Here
549
.endif
575
.endif
550
576
551
.if ${PHP_MODNAME} == "pdo_odbc"
577
.if ${PHP_MODNAME} == "pdo_odbc"
552
.if defined(WITH_IODBC)
578
.if ${PORT_OPTIONS:MIODBC}
553
LIB_DEPENDS+=	iodbc.3:${PORTSDIR}/databases/libiodbc
579
LIB_DEPENDS+=	iodbc.3:${PORTSDIR}/databases/libiodbc
554
580
555
CONFIGURE_ARGS+=--with-pdo-odbc=iODBC,${LOCALBASE}
581
CONFIGURE_ARGS+=--with-pdo-odbc=iODBC,${LOCALBASE}
Lines 561-567 Link Here
561
.endif
587
.endif
562
588
563
.if ${PHP_MODNAME} == "pdo_mysql"
589
.if ${PHP_MODNAME} == "pdo_mysql"
564
.	if defined(WITH_MYSQLND)
590
.	if ${PORT_OPTIONS:MMYSQLND}
565
CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd
591
CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd
566
592
567
USE_PHP+=	mysql
593
USE_PHP+=	mysql
Lines 574-580 Link Here
574
.endif
600
.endif
575
601
576
.if ${PHP_MODNAME} == "sqlite"
602
.if ${PHP_MODNAME} == "sqlite"
577
.	if defined(WITH_UTF8)
603
.	if ${PORT_OPTIONS:MUTF8}
578
CONFIGURE_ARGS+=--enable-sqlite-utf8
604
CONFIGURE_ARGS+=--enable-sqlite-utf8
579
.	endif
605
.	endif
580
.endif
606
.endif

Return to bug 169485