libsigc++: use patch DSL
This commit is contained in:
parent
b3a69c3f19
commit
02094196c1
1 changed files with 3 additions and 5 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue