[dpkg] 17/200: build: Fix DPKG_BUILD_RELEASE_DATE to require DPKG_PROG_PERL

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:17:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository dpkg.

commit 7b02c624679d395124439549d0c78941b0197bf2
Author: Guillem Jover <guillem at debian.org>
Date:   Wed Nov 9 01:26:48 2016 +0100

    build: Fix DPKG_BUILD_RELEASE_DATE to require DPKG_PROG_PERL
    
    It uses perl.
---
 debian/changelog | 1 +
 m4/dpkg-build.m4 | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ea2ea0b..0958302 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ dpkg (1.18.14) UNRELEASED; urgency=medium
     - Fix inversion logic in libmd configure check when requested explicitly.
     - Do not consider the compressor libraries available in configure if the
       headers are not usable.
+    - Fix DPKG_BUILD_RELEASE_DATE to require DPKG_PROG_PERL, as it uses perl.
 
   [ Updated man pages translations ]
   * German (Helge Kreutzmann).
diff --git a/m4/dpkg-build.m4 b/m4/dpkg-build.m4
index b970063..771e6cf 100644
--- a/m4/dpkg-build.m4
+++ b/m4/dpkg-build.m4
@@ -13,6 +13,7 @@ AC_DEFUN([DPKG_BUILD_SHARED_LIBS], [
 # DPKG_BUILD_RELEASE_DATE()
 # -----------------------
 AC_DEFUN([DPKG_BUILD_RELEASE_DATE], [
+  AC_REQUIRE([DPKG_PROG_PERL])
   TIMESTAMP=$(PERL=$PERL $srcdir/run-script scripts/dpkg-parsechangelog.pl -l$srcdir/debian/changelog -STimestamp)
   PACKAGE_RELEASE_DATE=$(date --utc --date="@$TIMESTAMP" +%Y-%m-%d)
   AC_SUBST([PACKAGE_RELEASE_DATE])

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list