Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 17:08:58 -0500
From:      "Bryan Drewery" <bryan@shatow.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ale@FreeBSD.org
Subject:   ports/167984: [PATCH] lang/php5: Fix wrong PHP_EXT_DIR / ZEND_MODULE_API_NO
Message-ID:  <20120516220927.0D734106564A@hub.freebsd.org>
Resent-Message-ID: <201205162210.q4GMA1x1040174@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 16 22:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Drewery
>Release:        FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:

	
>Description:
	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:
		/usr/local/lib/php/20100525/mbstring.so
>How-To-Repeat:
	
>Fix:

	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
 .else
-PHP_EXT_DIR=	20100412
+PHP_EXT_DIR=	20100525
 PHP_EXT_INC=	pcre spl
 .endif
 
--- patch-php-ext-api.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120516220927.0D734106564A>