diff options
| -rw-r--r-- | meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch | 9 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/php/php_8.1.7.bb | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch b/meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch index 26872d1204..acf2940839 100644 --- a/meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch +++ b/meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch | |||
| @@ -18,11 +18,9 @@ Signed-off-by: Claude Bing <cbing@cybernetics.com> | |||
| 18 | ext/phar/Makefile.frag | 17 +++-------------- | 18 | ext/phar/Makefile.frag | 17 +++-------------- |
| 19 | 1 file changed, 3 insertions(+), 14 deletions(-) | 19 | 1 file changed, 3 insertions(+), 14 deletions(-) |
| 20 | 20 | ||
| 21 | diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag | ||
| 22 | index 58789cae25..c02af1b186 100644 | ||
| 23 | --- a/ext/phar/Makefile.frag | 21 | --- a/ext/phar/Makefile.frag |
| 24 | +++ b/ext/phar/Makefile.frag | 22 | +++ b/ext/phar/Makefile.frag |
| 25 | @@ -10,20 +10,9 @@ pharcmd: $(builddir)/phar.php $(builddir)/phar.phar | 23 | @@ -10,20 +10,9 @@ pharcmd: $(builddir)/phar.php $(builddir |
| 26 | 24 | ||
| 27 | PHP_PHARCMD_SETTINGS = -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 | 25 | PHP_PHARCMD_SETTINGS = -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 |
| 28 | PHP_PHARCMD_EXECUTABLE = ` \ | 26 | PHP_PHARCMD_EXECUTABLE = ` \ |
| @@ -42,10 +40,7 @@ index 58789cae25..c02af1b186 100644 | |||
| 42 | -PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` | 40 | -PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` |
| 43 | + $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; ` | 41 | + $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; ` |
| 44 | + | 42 | + |
| 45 | +PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` | 43 | +PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "/usr/bin/env $(program_prefix)php$(program_suffix)$(EXEEXT)";` |
| 46 | 44 | ||
| 47 | $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc | 45 | $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc |
| 48 | -@test -d $(builddir)/phar || mkdir $(builddir)/phar | 46 | -@test -d $(builddir)/phar || mkdir $(builddir)/phar |
| 49 | -- | ||
| 50 | 2.25.1 | ||
| 51 | |||
diff --git a/meta-oe/recipes-devtools/php/php_8.1.7.bb b/meta-oe/recipes-devtools/php/php_8.1.7.bb index e9e8eccf3a..043f3a81b2 100644 --- a/meta-oe/recipes-devtools/php/php_8.1.7.bb +++ b/meta-oe/recipes-devtools/php/php_8.1.7.bb | |||
| @@ -16,6 +16,7 @@ SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \ | |||
| 16 | file://0002-build-php.m4-don-t-unset-cache-variables.patch \ | 16 | file://0002-build-php.m4-don-t-unset-cache-variables.patch \ |
| 17 | file://0003-php-remove-host-specific-info-from-header-file.patch \ | 17 | file://0003-php-remove-host-specific-info-from-header-file.patch \ |
| 18 | file://0004-configure.ac-don-t-include-build-libtool.m4.patch \ | 18 | file://0004-configure.ac-don-t-include-build-libtool.m4.patch \ |
| 19 | file://0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch \ | ||
| 19 | file://0009-php-don-t-use-broken-wrapper-for-mkdir.patch \ | 20 | file://0009-php-don-t-use-broken-wrapper-for-mkdir.patch \ |
| 20 | file://0010-iconv-fix-detection.patch \ | 21 | file://0010-iconv-fix-detection.patch \ |
| 21 | " | 22 | " |
| @@ -23,7 +24,6 @@ SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \ | |||
| 23 | SRC_URI:append:class-target = " \ | 24 | SRC_URI:append:class-target = " \ |
| 24 | file://0001-ext-opcache-config.m4-enable-opcache.patch \ | 25 | file://0001-ext-opcache-config.m4-enable-opcache.patch \ |
| 25 | file://0005-pear-fix-Makefile.frag-for-Yocto.patch \ | 26 | file://0005-pear-fix-Makefile.frag-for-Yocto.patch \ |
| 26 | file://0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch \ | ||
| 27 | file://0007-sapi-cli-config.m4-fix-build-directory.patch \ | 27 | file://0007-sapi-cli-config.m4-fix-build-directory.patch \ |
| 28 | file://0008-ext-imap-config.m4-fix-include-paths.patch \ | 28 | file://0008-ext-imap-config.m4-fix-include-paths.patch \ |
| 29 | file://php-fpm.conf \ | 29 | file://php-fpm.conf \ |
