aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 12:07:56 -0500
committerJack Nagel2014-03-19 18:57:19 -0500
commit5d0728010a793f7d77fffbca385cf0c6295a711f (patch)
tree9656e77594b974d9fb9f04b51013f2af8f92eef1 /Library
parent760e94641d015e51cd58438d4255322a67483c7e (diff)
downloadhomebrew-5d0728010a793f7d77fffbca385cf0c6295a711f.tar.bz2
libunistring: use patch DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libunistring.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/libunistring.rb b/Library/Formula/libunistring.rb
index 58253a77e..938c85100 100644
--- a/Library/Formula/libunistring.rb
+++ b/Library/Formula/libunistring.rb
@@ -6,13 +6,11 @@ class Libunistring < Formula
mirror 'http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz'
sha1 'e1ea13c24a30bc93932d19eb5ad0704a618506dd'
- def patches
- # Submitted upstream: https://savannah.gnu.org/bugs/?37751
- # I am not 100% sure if this is the right patch because libunistring
- # provides its own stdint.h (and stdint.mini.h) which wraps the system's
- # version of these files (in a complicated manner). This is fragile.
- DATA unless MacOS::CLT.installed?
- end
+ # Submitted upstream: https://savannah.gnu.org/bugs/?37751
+ # I am not 100% sure if this is the right patch because libunistring
+ # provides its own stdint.h (and stdint.mini.h) which wraps the system's
+ # version of these files (in a complicated manner). This is fragile.
+ patch :DATA unless MacOS::CLT.installed?
def install
system "./configure", "--disable-dependency-tracking",