File: configure.patch

package info (click to toggle)
libtfbs-perl 0.7.1%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: perl: 10,728; ansic: 1,228; makefile: 560; sh: 9
file content (14 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use environment variable to prevent interactive prompt.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -21,6 +21,7 @@ WriteMakefile(
 
 sub get_sql_data  {
     my $ans = "abc";
+    $ans = $ENV{HAVE_MYSQL} if($ENV{HAVE_MYSQL});
     do {
 	print "Do you have write access to a MySQL database server? [n] ";
 	$ans=<STDIN>; chomp $ans;