ports/sysutils/sleuthkit/files/patch-src::timeline::config-perl
Alexey Dokuchaev 06a8e6439e - Make installed scripts really usable (fix binary files path)
- Registed missing runtime dependency
- Bump PORTREVISION
2007-06-06 00:49:57 +00:00

27 lines
794 B
Text

--- src/timeline/config-perl.orig Mon Sep 8 04:19:18 2003
+++ src/timeline/config-perl Mon Sep 8 04:19:36 2003
@@ -6,7 +6,7 @@
# Directories to search in
-dirs='/usr/local/bin/ /usr/bin/ /usr/ccs/bin/ /bin/ /usr/ucb/bin/ /sbin/ /usr/sbin/ /usr/local/sbin/ /usr/pkg/bin/'
+dirs="${LOCALBASE}/bin/ /usr/bin/ /usr/ccs/bin/ /bin/ /usr/ucb/bin/ /sbin/ /usr/sbin/ ${LOCALBASE}/sbin/ /usr/pkg/bin/"
# Find Perl
found=0;
@@ -57,15 +57,6 @@
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