diff options
Diffstat (limited to 'sysutils/autopsy/files/patch-configure')
-rw-r--r-- | sysutils/autopsy/files/patch-configure | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/autopsy/files/patch-configure b/sysutils/autopsy/files/patch-configure index 3a0b6bff36e9..64a819ab65d7 100644 --- a/sysutils/autopsy/files/patch-configure +++ b/sysutils/autopsy/files/patch-configure @@ -9,6 +9,25 @@ echo "" +@@ -115,8 +115,7 @@ + fi; + + # Get current working directory for lib +-echo "use lib '$PWD/';" >> ./config.tmp +-echo "use lib '$PWD/lib/';" >> ./config.tmp ++echo "use lib '${PREFIX}/lib/autopsy/';" >> ./config.tmp + + # Write autopsy + if (test -f ./autopsy) then +@@ -206,7 +206,7 @@ + # INSTALLATION DIRECTORY + ############################################################################# + echo '' >> $conf; +-echo \$INSTALLDIR = \'$PWD/\'\; >> $conf; ++echo \$INSTALLDIR = \'${PREFIX}/bin/\'\; >> $conf; + + + # Now add the variables that need user interaction @@ -271,8 +271,9 @@ echo ' http://www.sleuthkit.org/sleuthkit/' echo '' |