summaryrefslogtreecommitdiffstats
path: root/main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch')
-rw-r--r--main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch b/main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch
new file mode 100644
index 000000000..ccd2a52f1
--- /dev/null
+++ b/main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch
@@ -0,0 +1,19 @@
+Author: Tom Jampen <tom@cryptography.ch>
+Description: Fix plugin path to use debian's request-tracker plugin directory.
+
+diff -Naurp a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
+--- a/inc/Module/Install/RTx.pm 2012-05-10 16:22:06.166168825 +0200
++++ b/inc/Module/Install/RTx.pm 2012-06-11 12:51:31.879609814 +0200
+@@ -38,8 +38,9 @@ sub RTx {
+ @ARGV = grep { /PREFIX=(.*)/ ? ( ( $prefix = $1 ), 0 ) : 1 } @ARGV;
+
+ if ($prefix) {
+- $RT::LocalPath = $prefix;
+- $INC{'RT.pm'} = "$RT::LocalPath/lib/RT.pm";
++ push @INC, "$prefix";
++ require RT;
++ $RT::LocalPluginPath = "$prefix/plugins";
+ } else {
+ local @INC = (
+ $ENV{RTHOME} ? ( $ENV{RTHOME}, "$ENV{RTHOME}/lib" ) : (),
+