I'm following the instructions as said here:
20081211:
AFFECTS: users of lang/php5
AUTHOR: pav@FreeBSD.org, itetcu@FreeBSD.org, ale@FreeBSD.org
As of php 5.2.7, pcre extension is distributed with the core php5 package,
and not as a standalone module anymore. Follow these steps to update your
installation:
Portupgrade users:
pkg_delete -f php5-pcre-5.2.6
pkgdb -F
portupgrade as usual
Portmaster users:
pkg_delete -f php5-pcre\*
portmaster php5\*
But it fails with this:
===>>> Creating a backup package for old version php5-extensions-1.1
Segmentation fault (core dumped)
===> Installing for php5-extensions-1.2
===> Generating temporary packing list
===> Checking if lang/php5-extensions already installed
===> php5-extensions-1.2 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of lang/php5-extensions
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
===>>> A backup package for php5-extensions-1.1 should
be located in /usr/ports/packages/portmaster-backup
===>>> Installation of php5-extensions-1.2 (lang/php5-extensions) failed
===>>> Aborting update
===>>> Update for php5-extensions-1.1 failed
===>>> Aborting update
===>>> The following actions were performed:
Re-installation of php5-simplexml-5.2.8
Re-installation of php5-gd-5.2.8
Re-installation of php5-ctype-5.2.8
Re-installation of php5-pdo_sqlite-5.2.8
Re-installation of php5-posix-5.2.8
Re-installation of php5-sqlite-5.2.8
Re-installation of php5-pspell-5.2.8
Re-installation of php5-dom-5.2.8
Re-installation of php5-pdo-5.2.8
Re-installation of php5-xml-5.2.8
Re-installation of php5-extensions-1.2
Re-installation of php5-mbstring-5.2.8
[root@saturn /usr/ports/lang/php5-extensions]#
20081211:
AFFECTS: users of lang/php5
AUTHOR: pav@FreeBSD.org, itetcu@FreeBSD.org, ale@FreeBSD.org
As of php 5.2.7, pcre extension is distributed with the core php5 package,
and not as a standalone module anymore. Follow these steps to update your
installation:
Portupgrade users:
pkg_delete -f php5-pcre-5.2.6
pkgdb -F
portupgrade as usual
Portmaster users:
pkg_delete -f php5-pcre\*
portmaster php5\*
But it fails with this:
===>>> Creating a backup package for old version php5-extensions-1.1
Segmentation fault (core dumped)
===> Installing for php5-extensions-1.2
===> Generating temporary packing list
===> Checking if lang/php5-extensions already installed
===> php5-extensions-1.2 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of lang/php5-extensions
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
===>>> A backup package for php5-extensions-1.1 should
be located in /usr/ports/packages/portmaster-backup
===>>> Installation of php5-extensions-1.2 (lang/php5-extensions) failed
===>>> Aborting update
===>>> Update for php5-extensions-1.1 failed
===>>> Aborting update
===>>> The following actions were performed:
Re-installation of php5-simplexml-5.2.8
Re-installation of php5-gd-5.2.8
Re-installation of php5-ctype-5.2.8
Re-installation of php5-pdo_sqlite-5.2.8
Re-installation of php5-posix-5.2.8
Re-installation of php5-sqlite-5.2.8
Re-installation of php5-pspell-5.2.8
Re-installation of php5-dom-5.2.8
Re-installation of php5-pdo-5.2.8
Re-installation of php5-xml-5.2.8
Re-installation of php5-extensions-1.2
Re-installation of php5-mbstring-5.2.8
[root@saturn /usr/ports/lang/php5-extensions]#