Skip to content

Commit

Permalink
pod2man: change keg's install location
Browse files Browse the repository at this point in the history
As discussed with #66370 (comment)
Big Sur's system perl changed how "PREFIX=" is treated as an install
destination.  The more explicit way to control MakeMaker is to set
INSTALL_BASE instead, which should result in consistent behavior
between different OS/X versions.

Closes #66367.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
mitchblank authored and BrewTestBot committed Dec 29, 2020
1 parent 4a1657d commit c839abb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/pod2man.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Pod2man < Formula
homepage "https://www.eyrie.org/~eagle/software/podlators/"
url "https://archives.eyrie.org/software/perl/podlators-4.14.tar.xz"
sha256 "e504c3d9772b538d7ea31ce2c5e7a562d64a5b7f7c26277b1d7a0de1f6acfdf4"
revision 1

livecheck do
url "https://archives.eyrie.org/software/perl/"
Expand All @@ -19,9 +20,8 @@ class Pod2man < Formula
keg_only :provided_by_macos

def install
system "perl", "Makefile.PL", "PREFIX=#{prefix}",
"INSTALLSCRIPT=#{bin}",
"INSTALLMAN1DIR=#{man1}", "INSTALLMAN3DIR=#{man3}"
system "perl", "Makefile.PL", "INSTALL_BASE=#{prefix}",
"INSTALLSITEMAN1DIR=#{man1}", "INSTALLSITEMAN3DIR=#{man3}"
system "make"
system "make", "install"
end
Expand Down

0 comments on commit c839abb

Please sign in to comment.