Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 15:06:50 +0200
From:      olli hauer <ohauer@gmx.de>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        Mathieu Arnold <mat@FreeBSD.org>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, ports-committers@freebsd.org
Subject:   Re: svn commit: r330735 - in head/lang: php5 php5-extensions
Message-ID:  <5261326A.80605@gmx.de>
In-Reply-To: <526116D5.2080101@FreeBSD.org>
References:  <201310181004.r9IA4ROr058624@svn.freebsd.org> <C330AA8B44575C8D63409968@ogg.in.absolight.net> <526116D5.2080101@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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