You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2020/10/20 13:28:43 UTC

svn commit: r1882691 - in /httpd/apreq/branches/v2.15: CHANGES build/version_check.pl

Author: jorton
Date: Tue Oct 20 13:28:42 2020
New Revision: 1882691

URL: http://svn.apache.org/viewvc?rev=1882691&view=rev
Log:
Fix errors running "make release".

Submitted by: Petr Pisar <ppisar redhat.com>

Modified:
    httpd/apreq/branches/v2.15/CHANGES
    httpd/apreq/branches/v2.15/build/version_check.pl

Modified: httpd/apreq/branches/v2.15/CHANGES
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2.15/CHANGES?rev=1882691&r1=1882690&r2=1882691&view=diff
==============================================================================
--- httpd/apreq/branches/v2.15/CHANGES (original)
+++ httpd/apreq/branches/v2.15/CHANGES Tue Oct 20 13:28:42 2020
@@ -12,6 +12,9 @@
   In apreq_brigade_concat(), fix memory handling and create
   the FILE bucket correctly.
 
+- Build [Petr Pisar]
+  Fix "make release" on Unix.
+
 @section v2_14 Changes with libapreq2-2.14 (not released)
 
 - Build [stevehay]

Modified: httpd/apreq/branches/v2.15/build/version_check.pl
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2.15/build/version_check.pl?rev=1882691&r1=1882690&r2=1882691&view=diff
==============================================================================
--- httpd/apreq/branches/v2.15/build/version_check.pl (original)
+++ httpd/apreq/branches/v2.15/build/version_check.pl Tue Oct 20 13:28:42 2020
@@ -140,11 +140,6 @@ WARN
     close $fh;
 }
 
-if ($path eq 'perl_prereqs') {
-    print perl_prereqs();
-    exit;
-}
-
 if (@ARGV == 0) {
 
     if ($opts{version}) {      # generate META.yml file content
@@ -183,7 +178,7 @@ no_index:
 generated_by: $0
 EOT
         my %runtime_prereqs =  (
-                               mod_perl2 => $perl_glue{mod_perl},
+                               mod_perl2 => $perl_glue{mod_perl2},
                                     perl => $perl_glue{perl},
                                );
         print_prereqs "requires:", \%runtime_prereqs;
@@ -204,6 +199,9 @@ EOT
     }
 
     exit 0;
+} elsif ($path eq 'perl_prereqs') {
+    print perl_prereqs();
+    exit;
 }