aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Albert2011-08-30 20:17:36 -0400
committerCharlie Sharpsteen2011-08-30 17:42:10 -0700
commitb13a4570623e5b59f87cf9e3153c60b0cb52e647 (patch)
tree260cf041e6b37e4cbab7b70e9da52c0effae8871 /Library
parentc67279642ebf3f795206fd9aa48139bf1a7a52a8 (diff)
downloadhomebrew-b13a4570623e5b59f87cf9e3153c60b0cb52e647.tar.bz2
New Formula: unifdef (keg-only)
Apple's version is quite out of date. There's no version number but man unifdef says it's from 2002. Version 2.6 shipped in February of this year. Some software like Gevent(.org) won't compile with the devtools version of unifdef. Closes #7283. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/unifdef.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/unifdef.rb b/Library/Formula/unifdef.rb
index 0e855e0e0..2b1fa7f25 100644
--- a/Library/Formula/unifdef.rb
+++ b/Library/Formula/unifdef.rb
@@ -5,11 +5,14 @@ class Unifdef < Formula
homepage 'http://dotat.at/prog/unifdef/'
md5 '18b832baea2c7b6b00bd7d4f3db38f62'
+ keg_only :provided_by_osx,
+ "The unifdef provided by Xcode cannot compile gevent."
+
def install
system "make prefix=#{prefix} install"
end
def test
- system "unifdef -V"
+ system "echo '' | unifdef"
end
end