From feff301f6da7494322f80ebc859ec6ab25a8c9f6 Mon Sep 17 00:00:00 2001 From: Brad Beyenhof Date: Mon, 20 Jan 2014 20:48:43 -0800 Subject: change --enable-ssl to a postfix if Signed-off-by: Mike McQuaid --- Library/Formula/irssi.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3