File: 0031-libtool2.2.patch

package info (click to toggle)
php8.4 8.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 208,656 kB
  • sloc: ansic: 1,059,088; php: 35,311; sh: 11,866; cpp: 7,204; pascal: 4,896; javascript: 3,091; asm: 2,778; yacc: 2,411; makefile: 682; xml: 446; python: 300; awk: 148
file content (33 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Date: Sat, 2 May 2015 10:26:51 +0200
Subject: libtool2.2

---
 scripts/phpize.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/phpize.in b/scripts/phpize.in
index 30080ef..0874c3e 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -9,9 +9,11 @@ includedir="$prefix/include/php/@DEBIAN_PHP_API@"
 builddir="`pwd`"
 SED="@SED@"
 
-FILES_BUILD="php.m4 shtool libtool.m4 ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 pkg.m4 \
+aclocaldir="$prefix/share/aclocal"
+FILES_BUILD="php.m4 shtool ax_check_compile_flag.m4 ax_gcc_func_attribute.m4 php_cxx_compile_stdcxx.m4 \
     config.guess config.sub ltmain.sh Makefile.global gen_stub.php"
 FILES="run-tests*.php"
+LIBTOOL_FILES="pkg.m4 libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4"
 CLEAN_FILES="$FILES *.o *.lo *.la .libs/ build/ modules/ \
   config.nice configure configure.ac \
   config.h config.h.in conftest* libtool config.cache autom4te.cache/ \
@@ -149,6 +151,7 @@ phpize_copy_files()
   test -d build || mkdir build
 
   (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
+  (cd "$aclocaldir" && cp $LIBTOOL_FILES "$builddir"/build)
   (cd "$phpdir" && cp $FILES "$builddir")
 }