Add /usr/X11/lib/pkgconfig to pkg-config-path

This commit is contained in:
Max Howell 2009-09-16 15:17:53 +01:00
parent 5cf8e5a4ad
commit 4ee824abfb

View file

@ -8,7 +8,7 @@ class PkgConfig <Formula
#TODO depend on our glib if available. --with-installed-glib
def install
paths=%W[#{HOMEBREW_PREFIX}/lib/pkgconfig /usr/local/lib/pkgconfig /usr/lib/pkgconfig].uniq
paths=%W[#{HOMEBREW_PREFIX}/lib/pkgconfig /usr/local/lib/pkgconfig /usr/lib/pkgconfig /usr/X11/lib/pkgconfig].uniq
system "./configure", "--with-pc-path=#{paths*':'}", "--disable-debug", "--prefix=#{prefix}"
system "make install"
end