httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r164535 - /httpd/apreq/trunk/win32/Configure.pl
Date Mon, 25 Apr 2005 04:29:49 GMT
Author: randyk
Date: Sun Apr 24 21:29:48 2005
New Revision: 164535

URL: http://svn.apache.org/viewcvs?rev=164535&view=rev
Log:
insert PREREQ_PM string at top of generated Makefile to
allow CPAN clients to follow prerequisites.

Modified:
    httpd/apreq/trunk/win32/Configure.pl

Modified: httpd/apreq/trunk/win32/Configure.pl
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/win32/Configure.pl?rev=164535&r1=164534&r2=164535&view=diff
==============================================================================
--- httpd/apreq/trunk/win32/Configure.pl (original)
+++ httpd/apreq/trunk/win32/Configure.pl Sun Apr 24 21:29:48 2005
@@ -52,9 +52,19 @@
     }
 }
 
+my $version_check = catfile $apreq_home, 'build', 'version_check.pl';
+my $cmd = join ' ', ($^X, $version_check, 'perl_prereqs');
+chomp(my $prereq_string = qx{$cmd});
+
 open(my $make, '>Makefile') or die qq{Cannot open Makefile: $!};
 print $make <<"END";
 # Microsoft Developer Studio Generated NMAKE File.
+#   The following is a trick to get CPAN clients to follow prerequisites:
+#
+#    $prereq_string
+#
+
+# --- MakeMaker post_initialize section:
 
 APREQ_HOME=$apreq_home
 APR_LIB=$apr_libs{apr}



Mime
View raw message