aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tabbed.rb
diff options
context:
space:
mode:
authorJack Nagel2012-06-06 20:35:12 -0500
committerJack Nagel2012-07-01 12:41:00 -0500
commita2d4d9d832e60e2b007990f394b22e77b6dfa3ba (patch)
tree61d17f0eb86471a00b2bf117d13f067f73e372b8 /Library/Formula/tabbed.rb
parent06c2ea036322bd1d05330711aa41273cddc77ede (diff)
downloadhomebrew-a2d4d9d832e60e2b007990f394b22e77b6dfa3ba.tar.bz2
Update formulae for XQuartz compatibility
Diffstat (limited to 'Library/Formula/tabbed.rb')
-rw-r--r--Library/Formula/tabbed.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/tabbed.rb b/Library/Formula/tabbed.rb
index f45f97100..8194d8fc7 100644
--- a/Library/Formula/tabbed.rb
+++ b/Library/Formula/tabbed.rb
@@ -6,8 +6,10 @@ class Tabbed < Formula
md5 '4a30458f9adc38db549f735b8fb6451b'
head 'http://hg.suckless.org/tabbed'
+ depends_on :x11
+
def install
- inreplace 'config.mk', 'LIBS = -L/usr/lib -lc -lX11', 'LIBS = -L/usr/X11/lib -lc -lX11'
+ inreplace 'config.mk', "LIBS = -L/usr/lib -lc -lX11', 'LIBS = -L#{MacOS.x11_prefix}/lib -lc -lX11"
inreplace 'tabbed.1', 'new surf-window.', 'new xterm-window.'
inreplace 'config.def.h',
'{ MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "surf", "-e", winid, NULL} } },',