From c3d2be03721274cb902a97b423b13a0efbf9fdf5 Mon Sep 17 00:00:00 2001 From: Tom Schoonjans Date: Mon, 11 Mar 2019 16:19:08 +0000 Subject: [PATCH] glib: fix gio-2.0.pc Necessary to ensure glib-networking still builds... --- Formula/glib.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/glib.rb b/Formula/glib.rb index 91ec645d84..767f9990e2 100644 --- a/Formula/glib.rb +++ b/Formula/glib.rb @@ -3,6 +3,7 @@ class Glib < Formula homepage "https://developer.gnome.org/glib/" url "https://download.gnome.org/sources/glib/2.60/glib-2.60.0.tar.xz" sha256 "20865d8b96840d89d9340fc485b4b1131c1bb24d16a258a22d642c3bb1b44353" + revision 1 bottle do sha256 "5e1e0db9ec145055e4d84ea26fc05ad36661883a668c9cb96aa72c93913248c5" => :mojave @@ -48,7 +49,7 @@ class Glib < Formula # their modules inreplace lib/"pkgconfig/gio-2.0.pc", "giomoduledir=#{HOMEBREW_PREFIX}/lib/gio/modules", - "giomoduledir=${prefix}/lib/gio/modules" + "giomoduledir=${libdir}/gio/modules" # `pkg-config --libs glib-2.0` includes -lintl, and gettext itself does not # have a pkgconfig file, so we add gettext lib and include paths here.