From 0edca4f357b90e0d104b2fa3b29eddb9a8b7a796 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 22 Jul 2012 10:32:10 -0700 Subject: pkg-config: remove conflicting m4 files --- Library/Formula/pkg-config.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula/pkg-config.rb') 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 -- cgit v1.2.3