[Reproducible-commits] [perl] 11/36: Replace DEB_BUILD_{GNU_TYPE, ARCH_CPU} with DEB_HOST_*. (Closes: #782803)
Mattia Rizzolo
mattia at mapreri.org
Tue Nov 17 14:00:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository perl.
commit 93fda92bb010cd9ab6d202b0f0124f0402737921
Author: Niko Tyni <ntyni at debian.org>
Date: Sat Apr 18 10:52:14 2015 +0300
Replace DEB_BUILD_{GNU_TYPE,ARCH_CPU} with DEB_HOST_*. (Closes: #782803)
We don't really support cross-compiling yet, but these date back to at
least 2005 and were clearly incorrect in that context.
---
debian/README.source | 2 +-
debian/changelog | 2 ++
debian/config.debian | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index 35950e3..f4b7dbb 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -47,7 +47,7 @@ The Debian build process consists of the following components:
perl (once built, as perl.static). To bootstrap a new architecture,
use:
- DEB_BUILD_GNU_TYPE=<arch> debian/rules binary-arch
+ DEB_HOST_GNU_TYPE=<arch> debian/rules binary-arch
debian/config.debian
a helper script, invoked by debian/rules to run Configure with
diff --git a/debian/changelog b/debian/changelog
index 73aa2f8..a8fff65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ perl (5.20.2-4) UNRELEASED; urgency=medium
* Make t/run/locale more robust against subtly broken locale settings
common in pbuilder chroot builds. (Closes: #782068)
* Backport upstream patches for gcc-5 compatibility. (Closes: #778060)
+ * Replace a few ancient and incorrect DEB_BUILD_{GNU_TYPE,ARCH_CPU}
+ occurrences with the corresponding DEB_HOST_* ones. (Closes: #782803)
-- Niko Tyni <ntyni at debian.org> Fri, 10 Apr 2015 10:00:15 +0300
diff --git a/debian/config.debian b/debian/config.debian
index d4e6ed0..d6e7603 100644
--- a/debian/config.debian
+++ b/debian/config.debian
@@ -9,8 +9,8 @@ fullver="$ver.$subver"
nextver="$ver."$(($subver+1))
ccflags=-DDEBIAN
ldflags=
-arch_cpu=${DEB_BUILD_ARCH_CPU:-$(dpkg-architecture -qDEB_BUILD_ARCH_CPU)}
-gnu_type=${DEB_BUILD_GNU_TYPE:-$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)}
+arch_cpu=${DEB_HOST_ARCH_CPU:-$(dpkg-architecture -qDEB_HOST_ARCH_CPU)}
+gnu_type=${DEB_HOST_GNU_TYPE:-$(dpkg-architecture -qDEB_HOST_GNU_TYPE)}
optimize=-O2
debugging=-g
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/perl.git
More information about the Reproducible-commits
mailing list