Disable perl support in irssi so it will build without errors
Fixes Homebrew/homebrew#367 Signed-off-by: Max Howell <max@methylblue.com> No reports of issues on 10.5 so I just disabled perl on 10.6.
This commit is contained in:
parent
d6435d9e94
commit
ad34f7a997
1 changed files with 13 additions and 2 deletions
|
@ -13,8 +13,19 @@ class Irssi <Formula
|
|||
end
|
||||
|
||||
def install
|
||||
ENV.append 'ARCHFLAGS', ' '
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-modules", "--enable-ssl", "--enable-ipv6", "--with-perl=yes"
|
||||
ENV.append 'ARCHFLAGS', ' ' # wtf?
|
||||
|
||||
cargs = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--with-modules", "--enable-ssl", "--enable-ipv6"]
|
||||
|
||||
# http://github.com/mxcl/homebrew/issues/#issue/367
|
||||
if MACOS_VERSION > 10.5
|
||||
cargs << "--with-perl=no"
|
||||
else
|
||||
cargs << "--with-perl=yes"
|
||||
end
|
||||
|
||||
system "./configure", *cargs
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue