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>
This commit is contained in:
Gerd Behrmann 2014-05-05 13:21:34 +02:00 committed by Jack Nagel
parent ce691fe6b7
commit 1b2c00e28e

View file

@ -10,6 +10,7 @@ class GlobusToolkit < Formula
def install
ENV.deparallelize
ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"