summaryrefslogtreecommitdiff
path: root/devel/p5-Module-Install-RTx/patches/patch-lib_Module_Install_RTx.pm
blob: 77068598ed44b55dfccddca9c3ee7eec70e25c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-lib_Module_Install_RTx.pm,v 1.2 2020/09/07 09:31:22 wiz Exp $

fix up installpaths

--- lib/Module/Install/RTx.pm.orig	2018-03-02 20:05:16.000000000 +0000
+++ lib/Module/Install/RTx.pm
@@ -173,9 +173,9 @@ install ::
     # INSTALLDIRS=vendor should install manpages into /usr/share/man.
     # That is the default path in most distributions. Need input from
     # Redhat, Centos etc.
-    $self->makemaker_args( INSTALLVENDORMAN1DIR => "/usr/share/man/man1" );
-    $self->makemaker_args( INSTALLVENDORMAN3DIR => "/usr/share/man/man3" );
-    $self->makemaker_args( INSTALLVENDORARCH => "/usr/share/man" );
+    $self->makemaker_args( INSTALLVENDORMAN1DIR => "@PREFIX@/@PKGMANDIR@/man1" );
+    $self->makemaker_args( INSTALLVENDORMAN3DIR => "@PREFIX@/@PKGMANDIR@/man3" );
+    $self->makemaker_args( INSTALLVENDORARCH => "$RT::PluginPath/$name/$RT::Config{api_versionstring}/$RT::Config{archname}" );
 
     if (%has_etc) {
         print "For first-time installation, type 'make initdb'.\n";