Skip to content

Commit

Permalink
putty: gtk+ support removal
Browse files Browse the repository at this point in the history
after migrating to gtk-quartz, the putty GUI no longer builds due to its
explicit dependence on X11 and gdkx.
Closes Homebrew#40951
  • Loading branch information
tschoonj committed Jun 22, 2015
1 parent bf20f49 commit 762dba6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Library/Formula/putty.rb
Expand Up @@ -21,7 +21,6 @@ class Putty < Formula
end

depends_on "pkg-config" => :build
depends_on "gtk+" => :optional

def install
if build.head?
Expand All @@ -35,19 +34,17 @@ def install
--disable-silent-rules
--disable-dependency-tracking
--disable-gtktest
--without-gtk
]
args << ((build.with? "gtk+") ? "--with-gtk" : "--without-gtk")

system "./configure", *args

build_version = build.head? ? "svn-#{version}" : version
system "make", "VER=-DRELEASE=#{build_version}"

bin.install %w[putty puttytel pterm] if build.with? "gtk+"
bin.install %w[plink pscp psftp puttygen]

cd "doc" do
man1.install %w[putty.1 puttytel.1 pterm.1] if build.with? "gtk+"
man1.install %w[plink.1 pscp.1 psftp.1 puttygen.1]
end
end
Expand Down

0 comments on commit 762dba6

Please sign in to comment.