diff options
| author | Clemens Gruber | 2013-06-20 19:20:45 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-20 11:58:29 -0700 |
| commit | bb92f47d17de0818479065f60046f0585089d2c6 (patch) | |
| tree | 63e2b00def25613a2fa51d9f0e2ce24950538521 /Library/Formula/subversion.rb | |
| parent | 8efa77e7c52200d5f457ba340f71c119bd6cd528 (diff) | |
| download | homebrew-bb92f47d17de0818479065f60046f0585089d2c6.tar.bz2 | |
subversion: fix perl patch
Closes #20629.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/subversion.rb')
| -rw-r--r-- | Library/Formula/subversion.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index 7c1e3785c..8051fad02 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -185,20 +185,22 @@ class Subversion < Formula 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 -@@ -57,10 +57,13 @@ - +--- subversion/bindings/swig/perl/native/Makefile.PL.in~ 2013-06-20 18:58:55.000000000 +0200 ++++ subversion/bindings/swig/perl/native/Makefile.PL.in 2013-06-20 19:00:49.000000000 +0200 +@@ -69,10 +69,15 @@ + chomp $apr_shlib_path_var; - + +my $config_ccflags = $Config{ccflags}; -+$config_ccflags =~ s/-arch\s+\S+//g; # remove any -arch arguments, since the ones we want will already be in $cflags ++# remove any -arch arguments, since those ++# we want will already be in $cflags ++$config_ccflags =~ s/-arch\s+\S+//g; + my %config = ( ABSTRACT => 'Perl bindings for Subversion', DEFINE => $cppflags, - CCFLAGS => join(' ', $cflags, $Config{ccflags}), + CCFLAGS => join(' ', $cflags, $config_ccflags), - INC => join(' ',$apr_cflags, $apu_cflags, + INC => join(' ', $includes, $cppflags, " -I$swig_srcdir/perl/libsvn_swig_perl", " -I$svnlib_srcdir/include", |
