Код: Выделить всё
wget http://www.alexdupre.com/php53.diff
mv php53.diff ~/
cd /usr/ports
patch -p0 -E < ~/php53.diffнемного о патче
Код: Выделить всё
diff -u -r1.51 bsd.php.mk
--- ports/Mk/bsd.php.mk 15 Jun 2009 09:22:34 -0000 1.51
+++ ports/Mk/bsd.php.mk 20 Jan 2010 12:00:10 -0000
-PHP_EXT_DIR= 20060613
+PHP_EXT_DIR= 20090626
+PHP_EXT_INC= pcre spl
.....
-PORTVERSION= 5.2.12
+PORTVERSION= 5.3.1