tags 479935 +patch
thanks

the package seems to contain a broken check for outdated perl versions, simply disabling the check makes it build.

attatched is a patch that does just that ready to be added to the dpatch sequence.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02.kill_broken_perl_check.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: simple patch to disable broken perl version check

@DPATCH@
diff -urNad autopsy-2.08~/configure autopsy-2.08/configure
--- autopsy-2.08~/configure     2006-09-01 17:19:15.000000000 +0100
+++ autopsy-2.08/configure      2008-05-15 01:09:20.000000000 +0100
@@ -63,15 +63,15 @@
   do if (test -x ${d}perl) then
     if (test -n "`${d}perl -v 2> /dev/null | awk '/This is perl/ {print 
$0}'`") then
       ver=`${d}perl -v 2> /dev/null | awk '/This is perl,/ {print $4}'`;
-      if (test "$ver" '<' "v5.8.0") then 
-        echo "old version of perl found: ${d}perl (version $ver) -- 
continuing";
-      else       
+      #if (test "$ver" '<' "v5.8.0") then 
+      #  echo "old version of perl found: ${d}perl (version $ver) -- 
continuing";
+      #else      
         echo "perl found: ${d}perl (version $ver)";
         echo "#!${d}perl -wT" > ./config.tmp;
         echo "#!${d}perl" > ./config2.tmp;
         found=1; 
         break; 
-      fi;
+      #fi;
     fi;
   fi;
 done

Reply via email to