blob: 3a41820f46bdc330f4a12d572a809cbac4c9959d [file] [log] [blame]
Brad Bishopc8f47122019-06-24 09:36:18 -04001From 31a2c5555f9ef32f35d7d5ce1fd09a010ba5f5c6 Mon Sep 17 00:00:00 2001
2From: Joshua Watt <JPEWhacker@gmail.com>
3Date: Mon, 17 Jun 2019 10:47:15 -0500
4Subject: [PATCH 1/2] enc2xs: Add environment variable to suppress comments
5
6Comment generation in enc2xs can now be suppressed by setting the
7ENC2XS_NO_COMMENTS environment variable. This allows enc2xs to produce
8reproducible output by omitting the name of the generating program.
9
10Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Brad Bishop96ff1982019-08-19 13:50:42 -040011Upstream-Status: Accepted [https://github.com/dankogai/p5-encode/pull/145]
Brad Bishopc8f47122019-06-24 09:36:18 -040012---
13 cpan/Encode/bin/enc2xs | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs
17index 619b64b757..bfce9ee735 100644
18--- a/cpan/Encode/bin/enc2xs
19+++ b/cpan/Encode/bin/enc2xs
20@@ -144,6 +144,7 @@ getopts('CM:SQqOo:f:n:v',\%opt);
21 $opt{M} and make_makefile_pl($opt{M}, @ARGV);
22 $opt{C} and make_configlocal_pm($opt{C}, @ARGV);
23 $opt{v} ||= $ENV{ENC2XS_VERBOSE};
24+$opt{q} ||= $ENV{ENC2XS_NO_COMMENTS};
25
26 sub verbose {
27 print STDERR @_ if $opt{v};
28--
292.21.0
30