diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-26 09:07:46 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-26 09:07:46 +0000 |
commit | 8392f5d75bd9861f039d5ae6773c226d540b773f (patch) | |
tree | 11aa8de386ea918d21b3672678f307710945f1f1 /main/perl-rt-authen-externalauth/dont-install-in-local-perl-rt-authen-externalauth.patch | |
parent | 2dd523d6c18ffc6db86c29ebd7bea7b13ee4b74b (diff) | |
download | aports-8392f5d75bd9861f039d5ae6773c226d540b773f.tar.bz2 aports-8392f5d75bd9861f039d5ae6773c226d540b773f.tar.xz |
testing/perl-rt-authen-externalauth: move to main
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.patch | 19 |
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 0000000000..ccd2a52f10 --- /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" ) : (), + |