scripts/php*.in: Explicitly define the path to sed.
authorVagrant Cascadian <vagrant@reproducible-builds.org>
Thu, 13 Apr 2023 22:59:57 +0000 (15:59 -0700)
committerOndřej Surý <ondrej@debian.org>
Mon, 2 Dec 2024 07:33:26 +0000 (08:33 +0100)
The full path is detected by configure, resulting in a different build
depending on if it is built on a usrmerge or non-usrmerge system.

Since usrmerge systems contain compatibility symlinks for the
non-usrmerge paths, use the non-usrmerge path which is compatible in
both systems.

https://tests.reproducible-builds.org/debian/issues/bookworm/paths_vary_due_to_usrmerge_issue.html

Gbp-Pq: Name 0045-scripts-php-.in-Explicitly-define-the-path-to-sed.patch

scripts/php-config.in
scripts/phpize.in

index 45a0759743301c74989340ca7921ab101efe73cb..05307ee3445b89ad89ae5277ca2283e1bd424ce2 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-SED="@SED@"
+SED="/bin/sed"
 prefix="@prefix@"
 datarootdir="@datarootdir@"
 exec_prefix="@exec_prefix@"
index 0dcfe21dbffdc1e5b89b241e01b2e815bb9c3568..0d71e7953aa9033c6222733e7348ebf1f9010b1b 100644 (file)
@@ -7,7 +7,7 @@ exec_prefix="`eval echo @exec_prefix@`"
 phpdir="$prefix/lib/php/@DEBIAN_PHP_API@/build"
 includedir="$prefix/include/php/@DEBIAN_PHP_API@"
 builddir="`pwd`"
-SED="@SED@"
+SED="/bin/sed"
 
 libtool_version=$(dpkg-query -f'${Version}' -W libtool)
 aclocaldir="$prefix/share/aclocal"