[Bug 397721] Re: [needs-packaging] php-fpm
dreamcat4
dreamcat4 at gmail.com
Mon Aug 3 11:02:00 BST 2009
On Sun, Aug 2, 2009 at 4:19 AM, Stas Sușcov<stas at nerd.ro> wrote:
> The package fails to build cause there are patches which require
> `./buildconf --force` thus modifying the upstream `./configure` and
> `main/php_config.h.in` files which needs patching by php-fpm.
You can modify the rules file from:
unprepared:
dh_testdir
sed -i -e 's/EXTRA_VERSION="-$(PHP5_DEBIAN_REVISION)"/EXTRA_VERSION=""/'
configure.in
rm -f configure aclocal.m4 config.sub config.guess
rm -f main/php_config.h.in
rm -f configure aclocal.m4 config.sub config.guess
rm -f main/php_config.h.in
to:
unprepared:
dh_testdir
sed -i -e 's/EXTRA_VERSION="-$(PHP5_DEBIAN_REVISION)"/EXTRA_VERSION=""/'
configure.in
rm -f configure aclocal.m4 config.sub config.guess
rm -f main/php_config.h.in
rm -f aclocal.m4 config.sub config.guess
rm -f prepared-stamp
and that prevents the './configure' and 'main/php_config.in' files
from being deleted. Patching then proceeds okay. Im not sure yet if
there's any harm in keeping these files, but when I do the next patch
file I shall report the result.
These suggestion can be browsed online at github:
http://github.com/dreamcat4/php5-fpm-ubuntu/commits/php5_5.2.6.dfsg.1-3ubuntu4.1/
--
[needs-packaging] php-fpm
https://bugs.launchpad.net/bugs/397721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list