homebrew-core/Formula/globus-toolkit.rb
Gerd Behrmann 1b2c00e28e globus-toolkit: set mac os deployment target
If not set explicitly, globus-toolkit compiles libraries with a flat ld
name space. This in turn causes it to pick up the system implementation
of GSS when linked with system framework libraries (as is the case for
the nordugrid-arc package), which causes a segfault as soon as any GSS
related functionality of globus-toolkit is used.

Closes Homebrew/homebrew#28967.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-05 23:53:14 -05:00

19 lines
511 B
Ruby

require 'formula'
class GlobusToolkit < Formula
homepage 'http://www.globus.org/toolkit/'
url 'http://toolkit.globus.org/ftppub/gt5/5.2/5.2.5/installers/src/gt5.2.5-all-source-installer.tar.gz'
version '5.2.5'
sha1 '2e39065e0c3970b660e081705915d45640d3c350'
depends_on :libtool
def install
ENV.deparallelize
ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
share.install prefix/'man'
end
end