Skip to content

Commit

Permalink
arabica 20101023
Browse files Browse the repository at this point in the history
Upgrade arabica to the 2010 November archive, 20101023.
Add `fails_with :clang` block to handle an undeclared identifier.
Add upstream bug report url in the comments.
Remove the autotools deps and the autoreconf.  They're not needed.

Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
nibbles 2bits authored and adamv committed Jun 9, 2012
1 parent b97b06b commit 21dd99a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions Library/Formula/arabica.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@

class Arabica < Formula
homepage 'http://www.jezuk.co.uk/cgi-bin/view/arabica'
url 'https://github.com/ashb/Arabica/tarball/20100203'
md5 '9318c4d498957cd356e533f2132d6956'
url 'http://sourceforge.net/projects/arabica/files/arabica/November-10/arabica-2010-November.tar.bz2'
version '20101023'
sha1 '03f8a8be9ad0a01482c397542f1fd06846424660'

if MacOS.xcode_version >= "4.3"
# remove the autoreconf if possible, no comment provided about why it is there
# so we have no basis to make a decision at this point.
depends_on "automake" => :build
depends_on "libtool" => :build
# Reported upstream. The project has been dormant since November, 2010.
# https://sourceforge.net/tracker/?func=detail&aid=3533824&group_id=56163&atid=479571
fails_with :clang do
build 318
cause "error: use of undeclared identifier 'sputc'"
end

def install
system "autoreconf"
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end

0 comments on commit 21dd99a

Please sign in to comment.