mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Fix with Perl 5.21.6+ (ExtUtils::MakeMaker 6.99 -> 7.02)
With hat: perl@ Sponsored by: Absolight
This commit is contained in:
parent
047dfbc4fd
commit
5cf180ff91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384493
27
mail/razor-agents/files/patch-Makefile.PL
Normal file
27
mail/razor-agents/files/patch-Makefile.PL
Normal file
@ -0,0 +1,27 @@
|
||||
--- Makefile.PL.orig 2015-04-22 13:28:54 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -58,9 +58,9 @@ MAN5PODS = docs/razor-agent.conf.pod \
|
||||
docs/razor-whitelist.pod \
|
||||
docs/razor-agents.pod
|
||||
INST_MAN5DIR = blib/man5
|
||||
-INSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/share/man/man5
|
||||
-INSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/share/man/man5
|
||||
-INSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/share/man/man5
|
||||
+DESTINSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/man/man5
|
||||
+DESTINSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/man/man5
|
||||
+DESTINSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/man/man5
|
||||
MAN5EXT = 5
|
||||
# end razor-agents
|
||||
|
||||
@@ -139,10 +139,7 @@ sub MY::install {
|
||||
my $self = shift;
|
||||
my $inherited = $self->SUPER::install(@_);
|
||||
|
||||
- my $man5 = q{ \\
|
||||
- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
|
||||
-
|
||||
- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
|
||||
+ $inherited =~ s/(^\s*"?\$\(INST_MAN)3(DIR"?.*MAN)3(DIR\)"?)/${1}3${2}3$3 \\\n${1}5${2}5$3/gm;
|
||||
|
||||
return $inherited;
|
||||
}
|
Loading…
Reference in New Issue
Block a user