diff options
| author | nibbles 2bits | 2012-10-24 17:03:24 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-25 07:36:37 -0700 |
| commit | d6a73b0057198fc761a4f6399e5d5e999b6a6791 (patch) | |
| tree | 07344622359478518d5e07dfbd496f84c9ffb587 /Library/Formula/subversion.rb | |
| parent | ce75e7f2f3b585a12b4c90d1b7fce5de554b09ab (diff) | |
| download | homebrew-d6a73b0057198fc761a4f6399e5d5e999b6a6791.tar.bz2 | |
subversion: fix Perl install location
subversion --perl tries to install to `/Library/Perl` which is
not writeable by the regular user and causes a build error.
- Set the perl `DESTDIR=#{prefix}` and add a caveat.
Fixes #15352
Closes #15652.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/subversion.rb')
| -rw-r--r-- | Library/Formula/subversion.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index ffb133a9c..57f9bb696 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -181,7 +181,7 @@ 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" + system "make", "install-swig-pl", "DESTDIR=#{prefix}" end if build_java? @@ -208,6 +208,14 @@ class Subversion < Formula EOS end + if build_perl? + s += <<-EOS.undent + The perl bindings are located in various subdirectories of: + #{prefix}/Library/Perl + + EOS + end + if build_ruby? s += <<-EOS.undent You may need to add the Ruby bindings to your RUBYLIB from: |
