Przeglądaj źródła

workaround build problems (Statistics::PointEstimation is actually provided by perl-time, but Benchmark::Timer doesn't find it)

Ralf S. Engelschall 20 lat temu
rodzic
commit
feb7f81f73
2 zmienionych plików z 14 dodań i 0 usunięć
  1. 12 0
      perl-time/perl-time.patch
  2. 2 0
      perl-time/perl-time.spec

+ 12 - 0
perl-time/perl-time.patch

@@ -0,0 +1,12 @@
+Index: Benchmark-Timer-0.7100/Makefile.PL
+--- Benchmark-Timer-0.7100/Makefile.PL.orig	2004-12-20 23:49:50 +0100
++++ Benchmark-Timer-0.7100/Makefile.PL	2005-06-03 17:10:04 +0200
+@@ -20,7 +20,7 @@
+ # Optional features and their modules
+ features        (
+                   'Statistical sampling support' => [
+-                    -default    => 1,
++                    -default    => 0,
+                     recommends( 'Statistics::PointEstimation' => 0 ),
+                   ],
+                 );

+ 2 - 0
perl-time/perl-time.spec

@@ -57,6 +57,7 @@ Source5:      http://hacks.dlux.hu/Class-Date/download/Class-Date-%{V_class_date
 Source6:      http://www.cpan.org/modules/by-module/Benchmark/Benchmark-Timer-%{V_benchmark_timer}.tar.gz
 Source7:      http://www.cpan.org/modules/by-module/Time/Time-modules-%{V_time_modules}.tar.gz
 Source8:      http://www.cpan.org/modules/by-module/Time/Time-TAI64-%{V_time_tai64}.tar.gz
+Patch0:       perl-time.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -137,6 +138,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 6
     %setup -q -T -D -a 7
     %setup -q -T -D -a 8
+    %patch -p0
 
 %build