subversion: fix perl bindings placement
If you pass the prefix twice you end up with the Perl bindings installed in a double prefix: /usr/local/Cellar/subversion/1.9.3/usr/local/Cellar/subversion/1.9.3/Library Rather than: /usr/local/Cellar/subversion/1.9.3/Library This fixes that.
This commit is contained in:
parent
8e16762495
commit
dec7ff23a9
1 changed files with 1 additions and 2 deletions
|
@ -190,11 +190,10 @@ class Subversion < Formula
|
|||
"$(SWIG_INCLUDES) #{arches} -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I#{perl_core}"
|
||||
end
|
||||
system "make", "swig-pl"
|
||||
system "make", "install-swig-pl", "DESTDIR=#{prefix}"
|
||||
system "make", "install-swig-pl"
|
||||
|
||||
# Some of the libraries get installed into the wrong place, they end up having the
|
||||
# prefix in the directory name twice.
|
||||
|
||||
lib.install Dir["#{prefix}/#{lib}/*"]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue