From 7fac31ede30f6dcfaacdfc83ec470cd728b95a7b Mon Sep 17 00:00:00 2001 From: Manuel Giffels Date: Thu, 18 Jun 2015 09:50:00 +0200 Subject: [PATCH 1/2] uberftp 2.8 --- Library/Formula/uberftp.rb | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Library/Formula/uberftp.rb b/Library/Formula/uberftp.rb index 5267bef8d658..65204ea4976a 100644 --- a/Library/Formula/uberftp.rb +++ b/Library/Formula/uberftp.rb @@ -1,23 +1,18 @@ class Uberftp < Formula desc "Interactive GridFTP client" - homepage "http://dims.ncsa.illinois.edu/set/uberftp/" - url "https://github.com/JasonAlt/UberFTP/archive/Version_2_7.tar.gz" - sha256 "29a111a86fa70dbbc529a5d3e5a6befc1681e64e32dc019a1a6a98cd43ffb204" + homepage 'http://dims.ncsa.illinois.edu/set/uberftp/' + url 'https://github.com/JasonAlt/UberFTP/archive/Version_2_8.tar.gz' + sha256 '8a397d6ef02bb714bb0cbdb259819fc2311f5d36231783cd520d606c97759c2a' depends_on "globus-toolkit" def install - # get the flavor globus = Formula["globus-toolkit"].opt_prefix - core = `"#{globus}/sbin/gpt-query" globus_core` - flavor = case core - when /gcc64dbg/ then "gcc64dbg" - when /gcc32dbg/ then "gcc32dbg" - end + inreplace "configure", "globus_location/include/globus/gcc64dbg", "globus_location/libexec/include" + inreplace "configure", "globus_location/lib64", "globus_location/libexec/lib" system "./configure", "--prefix=#{prefix}", - "--with-globus-flavor=#{flavor}", "--with-globus=#{globus}" system "make" system "make", "install" From c7ee648298c6fe21519b929000d975a4d616f908 Mon Sep 17 00:00:00 2001 From: Manuel Giffels Date: Wed, 30 Sep 2015 15:38:27 +0200 Subject: [PATCH 2/2] Added comment, why inreplace is needed. --- Library/Formula/uberftp.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Formula/uberftp.rb b/Library/Formula/uberftp.rb index 65204ea4976a..9086829097ff 100644 --- a/Library/Formula/uberftp.rb +++ b/Library/Formula/uberftp.rb @@ -9,6 +9,7 @@ class Uberftp < Formula def install globus = Formula["globus-toolkit"].opt_prefix + #patches needed since location changed with globus-toolkit versions >= 6.0, patch to upstream not yet merged https://github.com/JasonAlt/UberFTP/pull/8 inreplace "configure", "globus_location/include/globus/gcc64dbg", "globus_location/libexec/include" inreplace "configure", "globus_location/lib64", "globus_location/libexec/lib"