Deversion swig/share
Versioning dirs is redundant with Homebrew so I try to remove it where possible.
This commit is contained in:
parent
1576ebbfd4
commit
9b157ab856
1 changed files with 8 additions and 2 deletions
|
@ -5,9 +5,15 @@ class Swig <Formula
|
|||
homepage 'http://www.swig.org/'
|
||||
md5 '2df766c9e03e02811b1ab4bba1c7b9cc'
|
||||
|
||||
def patches
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make"
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking",
|
||||
# turns prefix/share/swig/1.3.40 into prefix/share/swig
|
||||
# as versioned dirs are redundant with Homebrew
|
||||
"--with-swiglibdir=#{prefix}/share/swig"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue