|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-22 13:26 UTC] greg at chiaraquartet dot net
[2007-11-22 13:43 UTC] greg at chiaraquartet dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
Description: ------------ Running 'make pharcmd' use phar.so previously installed and fail if not. I think using the "just build" phar.so is better. Attached patch allow this. --- Makefile.frag.makepatch 2007-08-30 05:34:34.000000000 +0200 +++ Makefile.frag 2007-08-31 14:45:52.000000000 +0200 @@ -2,12 +2,14 @@ $(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re $(RE2C) -b -o $(srcdir)/phar_path_check.c $(srcdir)/phar_path_check.re) -pharcmd: $(builddir)/phar.php $(builddir)/phar.phar +pharcmd: $(all_targets) $(builddir)/phar.php $(builddir)/phar.phar $(builddir)/phar.php: $(srcdir)/build_precommand.php $(srcdir)/phar/*.inc $(srcdir)/phar/*.php - php $(srcdir)/build_precommand.php > $(builddir)/phar.php + php -n -q -d extension_dir=$(builddir)/modules -d extension=phar.so\ + $(srcdir)/build_precommand.php > $(builddir)/phar.php $(builddir)/phar.phar: $(builddir)/phar.php $(srcdir)/phar/*.inc $(srcdir)/phar/*.php - php -d phar.readonly=0 $(srcdir)/phar.php pack -f $(builddir)/phar.phar -a pharcommand -c auto -x CVS -p 0 -s $(srcdir)/phar/phar.php -h sha1 $(srcdir)/phar/ + php -n -q -d extension_dir=$(builddir)/modules -d extension=phar.so -d phar.readonly=0 \ + $(srcdir)/phar.php pack -f $(builddir)/phar.phar -a pharcommand -c auto -s $(srcdir)/phar/phar.p hp -h sha1 $(srcdir)/phar/ @chmod +x $(builddir)/phar.phar Reproduce code: --------------- - Expected result: ---------------- - Actual result: -------------- -