aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTryn Mirell2013-08-03 01:18:58 -0500
committerAdam Vandenberg2013-08-03 10:38:42 -0700
commit4e8bf33455f21b0cdb00c1171d75b9fc3f00654f (patch)
tree457a1f36407724c0e28027c2beab006bfc2a9e85 /Library/Formula
parent74c7494126836b037b96c8e8f7ccffd5aeed2133 (diff)
downloadhomebrew-4e8bf33455f21b0cdb00c1171d75b9fc3f00654f.tar.bz2
readline: add Darwin 13 as a build target
Closes #21625. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/readline.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/readline.rb b/Library/Formula/readline.rb
index 045cb056e..5ca515e39 100644
--- a/Library/Formula/readline.rb
+++ b/Library/Formula/readline.rb
@@ -19,6 +19,10 @@ EOS
# reduce bug reports.
# Upstream patches can be found in:
# http://ftpmirror.gnu.org/readline/readline-6.2-patches
+ #
+ # We are carrying an additional patch to add Darwin 13 as a build target.
+ # Presumably when 10.9 comes out this patch will move upstream.
+ # https://github.com/mxcl/homebrew/pull/21625
def patches; DATA; end
def install
@@ -100,7 +104,7 @@ index 5a63e80..c61dc78 100644
# Darwin/MacOS X
-darwin[89]*|darwin10*)
-+darwin[89]*|darwin1[012]*)
++darwin[89]*|darwin1[0123]*)
SHOBJ_STATUS=supported
SHLIB_STATUS=supported
@@ -109,7 +113,7 @@ index 5a63e80..c61dc78 100644
case "${host_os}" in
- darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
-+ darwin[789]*|darwin1[012]*) SHOBJ_LDFLAGS=''
++ darwin[789]*|darwin1[0123]*) SHOBJ_LDFLAGS=''
SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
;;
*) SHOBJ_LDFLAGS='-dynamic'