Skip to content

Commit

Permalink
readline: add Darwin 13 as a build target
Browse files Browse the repository at this point in the history
Closes Homebrew#21625.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Tryn Mirell authored and adamv committed Aug 3, 2013
1 parent 74c7494 commit 4e8bf33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Library/Formula/readline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class Readline < Formula
# 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
Expand Down Expand Up @@ -100,7 +104,7 @@ def install

# Darwin/MacOS X
-darwin[89]*|darwin10*)
+darwin[89]*|darwin1[012]*)
+darwin[89]*|darwin1[0123]*)
SHOBJ_STATUS=supported
SHLIB_STATUS=supported

Expand All @@ -109,7 +113,7 @@ def install

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'
Expand Down

0 comments on commit 4e8bf33

Please sign in to comment.