glibmm: add upstream patch to fix build

This commit is contained in:
Jack Nagel 2013-10-19 16:08:09 -05:00
parent 107e505a69
commit 6decf0c4c9

View file

@ -10,9 +10,19 @@ class Glibmm < Formula
depends_on 'libsigc++' depends_on 'libsigc++'
depends_on 'glib' depends_on 'glib'
depends_on 'automake' => :build
depends_on 'autoconf' => :build
depends_on 'libtool' => :build
depends_on 'mm-common' => :build
# Upstream patch to fix build error
# Remove patch, autotools deps and call to autogen.sh at next version
def patches
"https://git.gnome.org/browse/glibmm/patch/?id=c619be2fadae1b5a87151db0b0adddf55584084a"
end
def install def install
system "./configure", "--disable-dependency-tracking", system "./autogen.sh", "--disable-dependency-tracking", "--prefix=#{prefix}"
"--prefix=#{prefix}"
system "make install" system "make install"
end end
end end