class EnblendEnfuse < Formula homepage "http://enblend.sourceforge.net/" url "https://downloads.sourceforge.net/project/enblend/enblend-enfuse/enblend-enfuse-4.1/enblend-enfuse-4.1.1.tar.gz" sha256 "9d0947633ebaa0dc1211331b31009408de6fe2108751ad4190760e3a9f181bc9" option "with-gpu", "Build with GPU support" depends_on "libpng" depends_on :x11 => :optional depends_on "boost" depends_on "gsl" depends_on "jpeg" depends_on "little-cms2" depends_on "libtiff" depends_on "vigra" depends_on "openexr" => :optional # builds against the multithreaded boost system library patch :DATA def install args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"] args << "--without-x" if build.without? "x11" args << "--enable-gpu-support=" + ((build.with? "gpu") ? "yes" : "no") system "./configure", *args system "make", "install" end test do system "#{libexec}/enblend", \ "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png" system "#{libexec}/enfuse", \ "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \ "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png" end end __END__ diff --git a/configure.orig b/configure index 98699f5..70e286b 100755 --- a/configure.orig +++ b/configure @@ -8279,7 +8279,7 @@ fi -LIBS="-lboost_system $LIBS" +LIBS="-lboost_system-mt $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new Boost system library" >&5 $as_echo_n "checking for new Boost system library... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext