parent
b60961a15f
commit
5176835ba0
1 changed files with 16 additions and 0 deletions
|
@ -14,7 +14,23 @@ class Winexe < Formula
|
|||
# Added by @vspy
|
||||
patch :DATA
|
||||
|
||||
# This Winexe uses "getopts.pl" that is no longer supplied with newer
|
||||
# versions of Perl
|
||||
resource "Perl4::CoreLibs" do
|
||||
url "http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-0.003.tar.gz"
|
||||
sha1 "ad4c5a9fa8da4f461dc774e5c53136a55413ef2f"
|
||||
end
|
||||
|
||||
def install
|
||||
if MacOS.version >= :mavericks
|
||||
ENV.prepend_create_path 'PERL5LIB', libexec+'lib/perl5'
|
||||
resource("Perl4::CoreLibs").stage do
|
||||
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
cd "source4" do
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--enable-fhs"
|
||||
|
|
Loading…
Reference in a new issue