Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 03a12ec

Browse files
maarten-kMikeMcQuaid
maarten-k
authored andcommitted
uberftp 2.8
Closes #41277 and is based on work described in #40848. The single quotes are replaced by double quotes. The patch JasonAlt/UberFTP#8 mentioned in #40848 solves the problem partly: there is still another patch needed which obfuscate the formula even more then the replaces now.
1 parent cf515fe commit 03a12ec

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

Library/Formula/uberftp.rb

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
class Uberftp < Formula
22
desc "Interactive GridFTP client"
33
homepage "http://dims.ncsa.illinois.edu/set/uberftp/"
4-
url "https://github.com/JasonAlt/UberFTP/archive/Version_2_7.tar.gz"
5-
sha256 "29a111a86fa70dbbc529a5d3e5a6befc1681e64e32dc019a1a6a98cd43ffb204"
4+
url "https://github.com/JasonAlt/UberFTP/archive/Version_2_8.tar.gz"
5+
sha256 "8a397d6ef02bb714bb0cbdb259819fc2311f5d36231783cd520d606c97759c2a"
66

77
depends_on "globus-toolkit"
88

99
def install
10-
# get the flavor
1110
globus = Formula["globus-toolkit"].opt_prefix
1211

13-
core = `"#{globus}/sbin/gpt-query" globus_core`
14-
flavor = case core
15-
when /gcc64dbg/ then "gcc64dbg"
16-
when /gcc32dbg/ then "gcc32dbg"
17-
end
12+
# patch needed since location changed with globus-toolkit versions>=6.0,
13+
# patch to upstream is not yet merged
14+
# (located at https://github.com/JasonAlt/UberFTP/pull/8)
15+
# but solves not whole problem (needs aditional patch)
16+
inreplace "configure", "globus_location/include/globus/gcc64dbg", "globus_location/libexec/include"
17+
inreplace "configure", "globus_location/lib64", "globus_location/libexec/lib"
1818

1919
system "./configure", "--prefix=#{prefix}",
20-
"--with-globus-flavor=#{flavor}",
2120
"--with-globus=#{globus}"
2221
system "make"
2322
system "make", "install"

0 commit comments

Comments
 (0)