diff options
| author | Jack Nagel | 2014-03-17 22:44:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-17 22:47:05 -0500 |
| commit | 2911ec24c0e4d7b42f09f0778fd407e8be36767a (patch) | |
| tree | 99a30336b1f603bf942e9ea4ef7019da36d5d2f6 /Library | |
| parent | 8c303922599338368d92b72ab9b9a354b7c4e2b0 (diff) | |
| download | homebrew-2911ec24c0e4d7b42f09f0778fd407e8be36767a.tar.bz2 | |
abook: use patch DSL
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/abook.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/abook.rb b/Library/Formula/abook.rb index d58d96113..cabf75606 100644 --- a/Library/Formula/abook.rb +++ b/Library/Formula/abook.rb @@ -8,17 +8,13 @@ class Abook < Formula devel do url 'https://abook.sourceforge.net/devel/abook-0.6.0pre2.tar.gz' sha1 '42a939fba43e51aa011fa185113c12ec4bc1e1ec' + + # Remove `inline` from function implementation for clang compatibility + patch :DATA end depends_on 'readline' - def patches - if build.devel? - # Remove `inline` from function implementation for clang compatibility - DATA - end - end - def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", |
