mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
27 lines
794 B
Text
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
|
|
|
|
|