aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-11 16:17:51 -0500
committerJack Nagel2014-03-11 16:17:51 -0500
commit51a9003acab0154b05e64f48098437c1d25caaa7 (patch)
tree02a6050f3826c3abb3f6387b21a2002a82e52f20
parent7d042b3cd6dddd0306421fa7f6754530dbc3b712 (diff)
downloadhomebrew-51a9003acab0154b05e64f48098437c1d25caaa7.tar.bz2
makedepend: let pkg-config handle build flags
-rw-r--r--Library/Formula/makedepend.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/makedepend.rb b/Library/Formula/makedepend.rb
index 6a70cc621..70ef40ccc 100644
--- a/Library/Formula/makedepend.rb
+++ b/Library/Formula/makedepend.rb
@@ -30,9 +30,8 @@ class Makedepend < Formula
system "make", "install"
end
+ ENV.append_path "PKG_CONFIG_PATH", "#{buildpath}/xproto/lib/pkgconfig"
ENV.append_path "PKG_CONFIG_PATH", "#{buildpath}/xorg-macros/share/pkgconfig"
- ENV["X_CFLAGS"] = "-I#{buildpath}/xproto/include"
- ENV["X_LIBS"] = "-L#{buildpath}/xproto/lib"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",