diff --git a/Formula/gconf.rb b/Formula/gconf.rb index 6009b5559e..977aca7e98 100644 --- a/Formula/gconf.rb +++ b/Formula/gconf.rb @@ -1,6 +1,6 @@ class Gconf < Formula desc "GConf is a system for storing user application preferences" - homepage "http://projects.gnome.org/gconf/" + homepage "https://projects.gnome.org/gconf/" url "https://download.gnome.org/sources/GConf/3.2/GConf-3.2.6.tar.xz" sha256 "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c" @@ -14,7 +14,15 @@ class Gconf < Formula def install system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}" + "--disable-silent-rules", "--prefix=#{prefix}", + "--sysconfdir=#{etc}" system "make", "install" + + # Refresh the cache post-install, not during install. + rm lib/"gio/modules/giomodule.cache" + end + + def post_install + system Formula["glib"].opt_bin/"gio-querymodules", HOMEBREW_PREFIX/"lib/gio/modules" end end