Skip to content

Commit

Permalink
maker: Bump revision for bioperl
Browse files Browse the repository at this point in the history
macOS also depends on Bit::Vector DBD::SQLite Inline::C.
  • Loading branch information
sjackman committed Oct 12, 2021
1 parent e16a2e4 commit a437def
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/maker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Maker < Formula
homepage "https://www.yandell-lab.org/software/maker.html"
url "http://yandell.topaz.genetics.utah.edu/maker_downloads/static/maker-2.31.11.tgz"
sha256 "129ce1d33df8ae29d417f0dac0df756398c5b76bdd58213233e94e735fe38c37"
revision 1

bottle do
root_url "https://ghcr.io/v2/brewsci/bio"
Expand All @@ -25,8 +26,8 @@ class Maker < Formula
depends_on "brewsci/bio/exonerate"
depends_on "brewsci/bio/repeatmasker"
depends_on "brewsci/bio/snap"
depends_on "perl"

uses_from_macos "perl"
uses_from_macos "sqlite"

# Build MAKER with MPI support, but do not force the dependency on the user.
Expand All @@ -44,8 +45,7 @@ def install
ENV.prepend "PERL5LIB", Formula["bioperl"].libexec/"lib/perl5"
ENV.prepend_create_path "PERL5LIB", prefix/"perl5/lib/perl5"
system "cpanm", "-l", prefix/"perl5",
"IO::All", "Perl::Unsafe::Signals", "Want", "forks", "forks::shared"
system "cpanm", "-l", prefix/"perl5", "Bit::Vector", "DBD::SQLite", "Inline::C" unless OS.mac?
"Bit::Vector", "DBD::SQLite", "forks", "forks::shared", "Inline::C", "IO::All", "Perl::Unsafe::Signals", "Want"

cd "src" do
mpi = build.with?("open-mpi") ? "yes" : "no"
Expand Down

0 comments on commit a437def

Please sign in to comment.