Skip to content

Commit

Permalink
gdbm: create libgdbm.4 -> libgdbm.5 symlink
Browse files Browse the repository at this point in the history
Closes #22534.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Jan 7, 2018
1 parent 4c40d99 commit b8eee99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/gdbm.rb
Expand Up @@ -4,6 +4,7 @@ class Gdbm < Formula
url "https://ftp.gnu.org/gnu/gdbm/gdbm-1.14.1.tar.gz"
mirror "https://ftpmirror.gnu.org/gdbm/gdbm-1.14.1.tar.gz"
sha256 "cdceff00ffe014495bed3aed71c7910aa88bf29379f795abc0f46d4ee5f8bc5f"
revision 1

bottle do
cellar :any
Expand All @@ -28,6 +29,9 @@ def install

system "./configure", *args
system "make", "install"

# Avoid breaking zsh login shells unnecessarily
ln_s "libgdbm.5.dylib", lib/"libgdbm.4.dylib"
end

test do
Expand Down

0 comments on commit b8eee99

Please sign in to comment.