diff options
| author | Brad Beyenhof | 2014-01-20 20:48:43 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-21 08:57:58 -0800 |
| commit | feff301f6da7494322f80ebc859ec6ab25a8c9f6 (patch) | |
| tree | 1bbde3b9f9c7925640df40b2bc51b2b01f29d02f /Library | |
| parent | 3fd96d31e9dd2cbb87917e9c0ec3beb39e205502 (diff) | |
| download | homebrew-feff301f6da7494322f80ebc859ec6ab25a8c9f6.tar.bz2 | |
change --enable-ssl to a postfix if
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/irssi.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/irssi.rb b/Library/Formula/irssi.rb index e78ce642c..ab6fba4f7 100644 --- a/Library/Formula/irssi.rb +++ b/Library/Formula/irssi.rb @@ -37,9 +37,7 @@ class Irssi < Formula args << "--with-perl=no" end - if build.with? "openssl" - args << "--enable-ssl" - end + args << "--enable-ssl" if build.with? "openssl" system "./configure", *args @@ -59,7 +57,7 @@ __END__ - PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` + PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null | $SED -e 's/-arch [^ ]\{1,\}//g'` fi - + if test "x$ac_cv_c_compiler_gnu" = "xyes" -a -z "`echo $host_os|grep 'bsd\|linux'`"; then @@ -27437,7 +27437,7 @@ $as_echo "not found, building without Perl" >&6; } @@ -67,7 +65,7 @@ __END__ else - PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null` + PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null | $SED -e 's/-arch [^ ]\{1,\}//g'` - + if test "x$DYNLIB_MODULES" = "xno" -a "$want_perl" != "static"; then want_perl=static |
