diff --git a/Formula/net6.rb b/Formula/net6.rb index a1b176cea7..7a13d2dbf3 100644 --- a/Formula/net6.rb +++ b/Formula/net6.rb @@ -3,13 +3,16 @@ class Net6 < Formula homepage "http://gobby.0x539.de" url "http://releases.0x539.de/net6/net6-1.3.14.tar.gz" sha256 "155dd82cbe1f8354205c79ab2bb54af4957047422250482596a34b0e0cc61e21" - revision 1 + revision 2 depends_on "pkg-config" => :build depends_on "gnutls" depends_on "libsigc++" + needs :cxx11 + def install + ENV.cxx11 system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end diff --git a/Formula/nordugrid-arc.rb b/Formula/nordugrid-arc.rb index 412bdcea8c..bdf7d8b8a6 100644 --- a/Formula/nordugrid-arc.rb +++ b/Formula/nordugrid-arc.rb @@ -4,6 +4,7 @@ class NordugridArc < Formula url "http://download.nordugrid.org/packages/nordugrid-arc/releases/5.0.0/src/nordugrid-arc_5.0.0.orig.tar.gz" mirror "https://mirrors.kernel.org/debian/pool/main/n/nordugrid-arc/nordugrid-arc_5.0.0.orig.tar.gz" sha256 "59132ce88f0d88d9a08a56eb879fe9bd07b2eedfce1506508e71457b7f4add1b" + revision 1 bottle do sha256 "db44e56921dda90426b9bb78ac996bcc261e6e169584636bae3ed7acd31aa229" => :yosemite @@ -18,12 +19,15 @@ class NordugridArc < Formula depends_on "libxml2" depends_on "globus-toolkit" + needs :cxx11 + fails_with :clang do build 500 cause "Fails with 'template specialization requires \"template<>\"'" end def install + ENV.cxx11 system "./configure", "--disable-dependency-tracking", "--disable-swig", "--prefix=#{prefix}" diff --git a/Formula/nzbget.rb b/Formula/nzbget.rb index 785c619dfc..faaff94bc1 100644 --- a/Formula/nzbget.rb +++ b/Formula/nzbget.rb @@ -3,6 +3,7 @@ class Nzbget < Formula homepage "http://nzbget.net/" url "https://github.com/nzbget/nzbget/releases/download/v15.0/nzbget-15.0-src.tar.gz" sha256 "3ef13f3e5917e4cda19c4fc0cd37e79967a19b4e3448c239ff24e37712a6cc0a" + revision 1 head "https://github.com/nzbget/nzbget.git" @@ -16,6 +17,8 @@ class Nzbget < Formula depends_on "openssl" depends_on "libsigc++" + needs :cxx11 + fails_with :clang do build 500 cause <<-EOS.undent @@ -30,6 +33,7 @@ class Nzbget < Formula end def install + ENV.cxx11 resource("libpar2").stage do system "./configure", "--disable-dependency-tracking", "--prefix=#{libexec}/lp2" diff --git a/Formula/synfig.rb b/Formula/synfig.rb index d9445161b0..2d65757c18 100644 --- a/Formula/synfig.rb +++ b/Formula/synfig.rb @@ -3,6 +3,7 @@ class Synfig < Formula homepage "http://synfig.org" url "https://downloads.sourceforge.net/project/synfig/releases/1.0/source/synfig-1.0.tar.gz" sha256 "1f2f9b209d49dff838049e9817b0458ac6987e912a56c061aa2f9c2faeb40720" + revision 1 head "git://synfig.git.sourceforge.net/gitroot/synfig/synfig" @@ -28,7 +29,10 @@ class Synfig < Formula depends_on "mlt" depends_on "libtool" => :run + needs :cxx11 + def install + ENV.cxx11 boost = Formula["boost"] system "./configure", "--disable-debug", "--disable-dependency-tracking", @@ -111,7 +115,7 @@ class Synfig < Formula -lxml++-2.6 -lxml2 ] - system ENV.cxx, "test.cpp", "-o", "test", *flags + system ENV.cxx, "-std=c++11", "test.cpp", "-o", "test", *flags system "./test" end end diff --git a/Formula/synfigstudio.rb b/Formula/synfigstudio.rb index 5017b93d6c..e046f2143a 100644 --- a/Formula/synfigstudio.rb +++ b/Formula/synfigstudio.rb @@ -3,6 +3,7 @@ class Synfigstudio < Formula homepage "http://synfig.org" url "https://downloads.sourceforge.net/project/synfig/releases/1.0/source/synfigstudio-1.0.tar.gz" sha256 "2b23916ca0be4073edad9b0cb92fd30311dd3b8f73372c836ba735100251ee28" + revision 1 bottle do revision 1 @@ -19,7 +20,10 @@ class Synfigstudio < Formula depends_on "etl" depends_on "synfig" + needs :cxx11 + def install + ENV.cxx11 system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"