2003-02-16 15:21:12 -05:00
|
|
|
$OpenBSD: patch-Makefile_PL,v 1.2 2003/02/16 20:21:12 margarida Exp $
|
|
|
|
--- Makefile.PL.orig Sat Jan 4 04:44:21 2003
|
|
|
|
+++ Makefile.PL Sun Feb 16 19:40:24 2003
|
2002-09-14 21:09:47 -04:00
|
|
|
@@ -21,8 +21,8 @@ foreach (@ARGV) {
|
|
|
|
}
|
2000-10-08 20:04:57 -04:00
|
|
|
my $opt_prefix = defined($vars{'PREFIX'}) ?
|
|
|
|
"-prefix $vars{'PREFIX'}" : "";
|
|
|
|
-my $opt_binpath = defined($vars{'INSTALLSCRIPT'}) ?
|
|
|
|
- "-prefix $vars{'INSTALLSCRIPT'}" : "";
|
|
|
|
+my $opt_binpath = defined($vars{'INSTALLBIN'}) ?
|
|
|
|
+ "-binpath $vars{'INSTALLBIN'}" : "";
|
|
|
|
my $opt_libpath = defined($vars{'LIB'}) ?
|
|
|
|
"-libpath $vars{'LIB'}" :
|
|
|
|
defined($vars{'INSTALLSITELIB'}) ?
|
2002-09-14 21:09:47 -04:00
|
|
|
@@ -30,7 +30,7 @@ my $opt_libpath = defined($vars{'LIB'})
|
2000-10-08 20:04:57 -04:00
|
|
|
defined($vars{'INSTALLPRIVLIB'}) ?
|
|
|
|
"-libpath $vars{'INSTALLPRIVLIB'}" : "";
|
|
|
|
my $opt_manpath = defined($vars{'INSTALLMAN1DIR'}) ?
|
|
|
|
- "-prefix $vars{'INSTALLMAN1DIR'}" : "";
|
|
|
|
+ "-manpath $vars{'INSTALLMAN1DIR'}" : "";
|
|
|
|
$opt_manpath =~ s/man1$//;
|
|
|
|
|
|
|
|
my $instme_args = "$opt_prefix $opt_binpath $opt_libpath $opt_manpath";
|
2003-02-16 15:21:12 -05:00
|
|
|
@@ -64,7 +64,7 @@ default: _FORCE
|
|
|
|
\$(CHMOD) -R a+r,a+X .
|
2000-10-08 20:04:57 -04:00
|
|
|
|
2003-02-16 15:21:12 -05:00
|
|
|
install: _FORCE
|
2000-10-08 20:04:57 -04:00
|
|
|
- \$(PERL) \$(INSTALLPRG) -batch $instme_args
|
|
|
|
+ \$(PERL) \$(INSTALLPRG) -batch $instme_args -docpath $vars{'PREFIX'}/share/doc/mhonarc
|
|
|
|
|
2003-02-16 15:21:12 -05:00
|
|
|
install-ask: _FORCE
|
2000-10-08 20:04:57 -04:00
|
|
|
\$(PERL) \$(INSTALLPRG) $instme_args
|