ports/90565: [PATCH] lang/php5-extension is missing inclusion of PDO extension (major feature added in PHP 5.1.0)
Alexander Zhuravlev
zaa at zaa.pp.ru
Sat Dec 17 16:00:19 UTC 2005
>Number: 90565
>Category: ports
>Synopsis: [PATCH] lang/php5-extension is missing inclusion of PDO extension (major feature added in PHP 5.1.0)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 17 16:00:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Alexander Zhuravlev
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD wave.zaa.local 6.0-STABLE FreeBSD 6.0-STABLE #9: Thu Dec 15 21:26:52 MSK 2005 root at wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386
>Description:
php5-extension, which provides possibility to install default set of PHP 5 extensions,
does allow installation of the PDO extension which is enabled by default in standard PHP
5.1.x installation bundle.
>How-To-Repeat:
>Fix:
Apply the patches provided below
--- lang::php5-extensions::Makefile.diff begins here ---
--- lang/php5-extensions/Makefile.orig Fri Dec 9 22:42:49 2005
+++ lang/php5-extensions/Makefile Fri Dec 16 14:55:19 2005
@@ -26,6 +26,7 @@
WITH_DOM= yes
WITH_ICONV= yes
WITH_PCRE= yes
+WITH_PDO= yes
WITH_POSIX= yes
WITH_SESSION= yes
WITH_SIMPLEXML= yes
@@ -68,6 +69,7 @@
PCNTL "pcntl support (CLI only)" off \
PCRE "Perl Compatible Regular Expression support" on \
PDF "PDFlib support (implies GD)" off \
+ PDO "PHP Data Objects Interface (PDO)" on \
PGSQL "PostgreSQL database support" off \
POSIX "POSIX-like functions" on \
PSPELL "pspell support" off \
@@ -107,7 +109,7 @@
DOM EXIF FILEINFO FILEPRO FRIBIDI FTP GD GETTEXT \
GMP ICONV IMAGICK IMAP INTERBASE LDAP MBSTRING MCRYPT \
MHASH MIME_MAGIC MING MSSQL MYSQL MYSQLI \
- NCURSES ODBC OPENSSL PANDA PCNTL PCRE PDF PGSQL POSIX \
+ NCURSES ODBC OPENSSL PANDA PCNTL PCRE PDF PDO PGSQL POSIX \
PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \
SOCKETS SQLITE SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \
TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XSL YAZ ZIP ZLIB
--- lang::php5-extensions::Makefile.diff ends here ---
--- Mk::bsd.php.mk.diff begins here ---
--- Mk/bsd.php.mk.orig Fri Dec 9 22:41:38 2005
+++ Mk/bsd.php.mk Fri Dec 16 14:55:07 2005
@@ -261,7 +261,7 @@
# version specific components
_USE_PHP_VER4= ${_USE_PHP_ALL} crack dbx dio domxml mcal mcve \
mnogosearch oracle overload xslt yp
-_USE_PHP_VER5= ${_USE_PHP_ALL} dom mysqli simplexml soap sqlite \
+_USE_PHP_VER5= ${_USE_PHP_ALL} dom pdo mysqli simplexml soap sqlite \
tidy xmlreader xsl
bcmath_DEPENDS= math/php${PHP_VER}-bcmath
@@ -308,6 +308,7 @@
pcntl_DEPENDS= devel/php${PHP_VER}-pcntl
pcre_DEPENDS= devel/php${PHP_VER}-pcre
pdf_DEPENDS= print/pecl-pdflib
+pdo_DEPENDS= databases/pecl-PDO
pgsql_DEPENDS= databases/php${PHP_VER}-pgsql
posix_DEPENDS= sysutils/php${PHP_VER}-posix
pspell_DEPENDS= textproc/php${PHP_VER}-pspell
--- Mk::bsd.php.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list