diff options
| author | Samuel John | 2013-01-11 12:32:42 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-11 11:57:40 +0000 |
| commit | bb1a7ea926a56cc711c3dc86373a7c07510725a8 (patch) | |
| tree | 1e6b56c3efcaae5df51aee2f240feb0ba9fa9be7 /Library | |
| parent | 21617a761b881e852fbbfa0b38d994c43d458789 (diff) | |
| download | homebrew-bb1a7ea926a56cc711c3dc86373a7c07510725a8.tar.bz2 | |
Fix build errors caused by making sqlite keg_only
- In subversion and gdal, because they used
HOMEBREW_PREFIX/lib instead of
Formula.factory('sqlite').opt_prefix
Closes #17005.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gdal.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/subversion.rb | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb index 1f0362b52..813050c3b 100644 --- a/Library/Formula/gdal.rb +++ b/Library/Formula/gdal.rb @@ -117,7 +117,7 @@ class Gdal < Formula "--with-gif=#{HOMEBREW_PREFIX}", "--with-libtiff=#{HOMEBREW_PREFIX}", "--with-geotiff=#{HOMEBREW_PREFIX}", - "--with-sqlite3=#{HOMEBREW_PREFIX}", + "--with-sqlite3=#{Formula.factory('sqlite').opt_prefix}", "--with-freexl=#{HOMEBREW_PREFIX}", "--with-spatialite=#{HOMEBREW_PREFIX}", "--with-geos=#{HOMEBREW_PREFIX}/bin/geos-config", diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index 0c1b98dd9..a9097fded 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -116,6 +116,9 @@ class Subversion < Formula end def install + # We had weird issues with "make" apparently hanging on first run: https://github.com/mxcl/homebrew/issues/13226 + ENV.deparallelize + if build_java? unless build.universal? opoo "A non-Universal Java build was requested." @@ -138,7 +141,7 @@ class Subversion < Formula "--with-apr=#{apr_bin}", "--with-ssl", "--with-zlib=/usr", - "--with-sqlite=#{HOMEBREW_PREFIX}", + "--with-sqlite=#{Formula.factory('sqlite').opt_prefix}", "--with-serf=#{HOMEBREW_PREFIX}", # use our neon, not OS X's "--disable-neon-version-check", @@ -164,7 +167,6 @@ class Subversion < Formula end if build_perl? - ENV.j1 # This build isn't parallel safe # Remove hard-coded ppc target, add appropriate ones if build.universal? arches = "-arch x86_64 -arch i386" @@ -188,13 +190,11 @@ class Subversion < Formula end if build_java? - ENV.j1 # This build isn't parallel safe system "make javahl" system "make install-javahl" end if build_ruby? - ENV.j1 # This build isn't parallel safe system "make swig-rb" system "make install-swig-rb" end @@ -251,6 +251,7 @@ class Subversion < Formula return s.empty? ? nil : s end end + __END__ --- subversion/bindings/swig/perl/native/Makefile.PL.in~ 2011-07-16 04:47:59.000000000 -0700 +++ subversion/bindings/swig/perl/native/Makefile.PL.in 2012-06-27 17:45:57.000000000 -0700 |
