From b13a4570623e5b59f87cf9e3153c60b0cb52e647 Mon Sep 17 00:00:00 2001 From: David Albert Date: Tue, 30 Aug 2011 20:17:36 -0400 Subject: 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 --- Library/Formula/unifdef.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3