Permalink
Browse files

wslay: minor build fixes

I forgot to update the formula a little after the initial drafting. I
asked upstream to release a new version with various build fixes
already in the HEAD prior to actually submitting this, and then forgot
to follow up on a couple of my initial drafting workarounds and such.

My apologies on that, have kicked myself :)

Closes Homebrew/legacy-homebrew#36950.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information...
DomT4 authored and MikeMcQuaid committed Feb 19, 2015
1 parent bb500ba commit a693655039fc72da50ab784466f82d64bd1a8403
Showing with 3 additions and 6 deletions.
  1. +3 −6 Formula/wslay.rb
View
@@ -50,9 +50,6 @@ class Wslay < Formula
end
def install
system "autoreconf", "-fvi" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--disable-silent-rules"
if build.with? "docs"
ENV.prepend_create_path "PYTHONPATH", buildpath+"sphinx/lib/python2.7/site-packages"
resources.each do |r|
@@ -61,11 +58,11 @@ def install
end
end
ENV.prepend_path "PATH", (buildpath/"sphinx/bin")
cd "doc" do
system "make", "install", "man"
end
end
system "autoreconf", "-fvi" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--disable-silent-rules"
system "make", "check"
system "make", "install"
end
end

0 comments on commit a693655

Please sign in to comment.