openbsd-ports/sysutils/sleuthkit/patches/patch-src_timeline_config-perl
sturm 54b22d21b3 update to sleuthkit 1.73
from Jon Trembley <jon at brain-box.net>
2005-02-16 20:41:27 +00:00

26 lines
643 B
Plaintext

--- src/timeline/config-perl.orig Tue Jan 6 23:50:55 2004
+++ src/timeline/config-perl Wed Feb 16 21:27:02 2005
@@ -1,6 +1,4 @@
BIN_DIR='../../bin/';
-LIB_DIR_BACK='/../../lib/';
-LIB_DIR_NORM='/lib/';
BASE='mactime.base';
PROG='mactime';
@@ -57,15 +55,6 @@ if (test $found -eq 0) then
echo "file not found";
fi
done
-fi
-
-
-# Print the installed location of the lib directory
-# This is not the best fix, but it works
-if (test -z "`echo "$PWD" | awk '/\/src\/timeline/ {print $0}'`") then
- echo "use lib '$PWD/$LIB_DIR_NORM';" >> $BIN_DIR$PROG;
-else
- echo "use lib '$PWD/$LIB_DIR_BACK';" >> $BIN_DIR$PROG;
fi