ports/167984: [PATCH] lang/php5: Fix wrong PHP_EXT_DIR / ZEND_MODULE_API_NO

Bryan Drewery bryan at shatow.net
Wed May 16 22:10:02 UTC 2012

>Number:         167984
>Category:       ports
>Synopsis:       [PATCH] lang/php5: Fix wrong PHP_EXT_DIR / ZEND_MODULE_API_NO
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 16 22:10:01 UTC 2012
>Originator:     Bryan Drewery
>Release:        FreeBSD 8.3-RELEASE i386

	The updated lang/php5 port with 5.4.3 is actually installing extensions to the 20100525 directory, but the bsd.php.mk is using 20100412.

	For example, when building www/phpmyadm, it checks for converters/php5-mbstring existing with 20100412
		===>    Verifying install for /usr/local/lib/php/20100412/mbstring.so in /usr/ports/converters/php5-mbstring

	However, the actual extension was installing to:

	Took 20100525 from Zend/zend_modules.h
	./work/php-5.4.3/Zend/zend_modules.h:#define ZEND_MODULE_API_NO 20100525

--- patch-php-ext-api.txt begins here ---
diff --git bsd.php.mk bsd.php.mk
index 0150230..8c57de7 100644
--- bsd.php.mk
+++ bsd.php.mk
@@ -53,7 +53,7 @@ PHP_EXT_DIR=	20060613
 PHP_EXT_DIR=	20090626
 PHP_EXT_INC=	pcre spl
-PHP_EXT_DIR=	20100412
+PHP_EXT_DIR=	20100525
 PHP_EXT_INC=	pcre spl
--- patch-php-ext-api.txt ends here ---


More information about the freebsd-ports-bugs mailing list