From 4e8bf33455f21b0cdb00c1171d75b9fc3f00654f Mon Sep 17 00:00:00 2001 From: Tryn Mirell Date: Sat, 3 Aug 2013 01:18:58 -0500 Subject: readline: add Darwin 13 as a build target Closes #21625. Signed-off-by: Adam Vandenberg --- Library/Formula/readline.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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' -- cgit v1.2.3