aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pkg-config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pkg-config.rb')
-rw-r--r--Library/Formula/pkg-config.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb
index f60ee807b..446e8f151 100644
--- a/Library/Formula/pkg-config.rb
+++ b/Library/Formula/pkg-config.rb
@@ -21,5 +21,10 @@ class PkgConfig < Formula
system "make"
system "make check"
system "make install"
+
+ # Fix some bullshit.
+ # pkg-config tries to install glib's m4 macros, which will conflict with
+ # an actual glib install.
+ rm Dir["#{share}/aclocal/g*.m4"]
end
end