summaryrefslogtreecommitdiff
path: root/devel/RTx-Shredder/patches/patch-aa
blob: 808046926bbb8c76662561d0ca2b381a7fded19e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.2 2011/06/26 09:56:36 wiz Exp $

--- inc/Module/Install/RTx.pm.orig	2005-09-27 00:23:22.000000000 +0200
+++ inc/Module/Install/RTx.pm
@@ -29,7 +29,8 @@ sub RTx {
 
     if ($prefix) {
-        $RT::LocalPath = $prefix;
-        $INC{'RT.pm'} = "$RT::LocalPath/lib/RT.pm";
+        $RT::LocalPath = "$ENV{DESTDIR}$prefix";
+        $RT::LocalHtmlPath = "$ENV{DESTDIR}$prefix/share/rt3/html";
+        $INC{'RT.pm'} = "$RT::LocalPath/lib/rt3/RT.pm";
     }
     else {
         local @INC = (