svn commit: r330735 - in head/lang: php5 php5-extensions

olli hauer ohauer at gmx.de
Fri Oct 18 13:12:04 UTC 2013


On 2013-10-18 13:09, Alex Dupre wrote:
> Mathieu Arnold ha scritto:
>> | Log:
>> |   Update to 5.4.21 release and STAGify.
>>
>> Hum,
>>
>> http://pkg.absolight.net/logs/bulk/91amd64-pkgng/2013-10-18_12h33m08s/logs/errors/php5-5.4.21.log
>> and same for php55 :
>> http://pkg.absolight.net/logs/bulk/91amd64-pkgng/2013-10-18_12h33m08s/logs/errors/php55-5.5.5.log
> 
> Thanks for reporting, I'll work on a fix for apxs and stagedir soon.
> 

The following line in work/php-xx/Makefile is the culprit

INSTALL_IT = $(mkinstalldirs) '$(INSTALL_ROOT)/usr/local/libexec/apache22' && \
 $(mkinstalldirs) '$(INSTALL_ROOT)/usr/local/etc/apache22' && \
 /usr/local/sbin/apxs -S LIBEXECDIR='$(INSTALL_ROOT)/usr/local/libexec/apache22' \
 -S SYSCONFDIR='$(INSTALL_ROOT)/usr/local/etc/apache22' \
 -i -a -n php5 libphp5.la
...^^^^^ ( -a/-A => create entry in httpd.conf)


With staging the apxs parameter -a/-A cannot be used (create module entry in httpd.conf)
The module entry can now be handled only with a post-install script or in pkg-plist.

Quick fix for the php staging issue (only 'make stage' target tested)
http://people.freebsd.org/~ohauer/diffs/stage/php5_stage.diff


-- 
olli


More information about the svn-ports-all mailing list