aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDevin Weaver2010-06-29 23:04:25 -0400
committerAdam Vandenberg2010-06-30 14:06:34 -0700
commit71784db4b7923f3d8589b03339804ce2ea91f947 (patch)
tree7af86b323419d7aaa2696846b23d3f618a0cbe5a /Library/Formula
parenteb48426d9267e89ba68d1f8f1e41983e31c91d75 (diff)
downloadhomebrew-71784db4b7923f3d8589b03339804ce2ea91f947.tar.bz2
Updates irssi to use missing features
Adds the --with-bot and --with-proxy fetures that were not included using the --with-moduls argument. Also removes --disable-dependancy-tracking. The configure script will find the wrong perl include path. Adds the correct configure option to fix this. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Reformat configure args
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/irssi.rb17
1 files changed, 10 insertions, 7 deletions
diff --git a/Library/Formula/irssi.rb b/Library/Formula/irssi.rb
index 094539b61..023eab3c8 100644
--- a/Library/Formula/irssi.rb
+++ b/Library/Formula/irssi.rb
@@ -8,21 +8,24 @@ class Irssi <Formula
depends_on 'pkg-config'
depends_on 'glib'
- def skip_clean? path
- path == bin+'irssi'
- end
+ # Don't strip, to allow dynamic loading of modules
+ skip_clean 'bin'
def patches
+ # Fix Perl path
DATA
end
def install
ENV.append 'ARCHFLAGS', ' ' # wtf?
- args = ["--prefix=#{prefix}", "--disable-dependency-tracking",
- "--with-modules", "--enable-ssl", "--enable-ipv6", "--with-perl=yes"]
-
- system "./configure", *args
+ system "./configure", "--prefix=#{prefix}",
+ "--with-perl=yes",
+ "--with-perl-lib=site",
+ "--with-bot",
+ "--with-proxy",
+ "--enable-ssl",
+ "--enable-ipv6"
system "make install"
end
end