libsigc++: use patch DSL

This commit is contained in:
Jack Nagel 2014-03-19 12:07:56 -05:00
parent b3a69c3f19
commit 02094196c1

View file

@ -13,11 +13,9 @@ class Libsigcxx < Formula
option :cxx11
def patches
# apply this patch for C++11 mode
# see https://git.gnome.org/browse/libsigc++2/commit/tests/test_cpp11_lambda.cc?id=cd600a31fbf8e76e25f4be4c10c0645f090a9b80
DATA if build.cxx11?
end
# apply this patch for C++11 mode
# see https://git.gnome.org/browse/libsigc++2/commit/tests/test_cpp11_lambda.cc?id=cd600a31fbf8e76e25f4be4c10c0645f090a9b80
patch :DATA if build.cxx11?
def install
ENV.cxx11 if build.cxx11?