aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-06-16 04:12:25 -0700
committerJack Nagel2012-06-16 11:03:58 -0500
commit2fd34b58c00ed6aacb6dacd12a80d1230af1f50c (patch)
tree91966ac259acfcd5f99d0d53a7a270bc1ae5ccb2 /Library/Formula
parentf68e629edf2e9e7cf5800710c4c9561bcd67b459 (diff)
downloadhomebrew-2fd34b58c00ed6aacb6dacd12a80d1230af1f50c.tar.bz2
imake 1.0.5
Upgrade imake to version 1.0.5. Add `ENV[PKG_CONFIG_PATH]` to pick up `xorg-macros.pc` because using ENV.x11 did not work. Add `--disable-dependency-tracking`. Remove the `--mandir` that's not needed anymore. Tested on Lion with clang and llvm from XCode-4.3.3. Closes #12872. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/imake.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/imake.rb b/Library/Formula/imake.rb
index 6dfa47f86..ec7c90bff 100644
--- a/Library/Formula/imake.rb
+++ b/Library/Formula/imake.rb
@@ -2,19 +2,21 @@ require 'formula'
class ImakeXorgCfFiles < Formula
url 'http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.4.tar.bz2'
- md5 '700c6d040d36a569e657a3ba5e1d8b24'
+ sha1 'c58b7252df481572ec1ccd77b9f1ab561ed89e45'
end
class Imake < Formula
- url 'http://xorg.freedesktop.org/releases/individual/util/imake-1.0.4.tar.bz2'
homepage 'http://xorg.freedesktop.org'
- md5 '48133c75bd77c127c7eff122e08ebbf6'
+ url 'http://xorg.freedesktop.org/releases/individual/util/imake-1.0.5.tar.bz2'
+ sha1 '1fd3dca267d125ad86583d7f9663b6ff532cddd1'
depends_on 'pkg-config' => :build
def install
+ # So it can find xorg-macros.pc. Using ENV.x11 didn't work.
+ ENV['PKG_CONFIG_PATH'] = '/usr/X11/share/pkgconfig'
ENV.deparallelize
- system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
+ system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
system "make install"
# install X config files
ImakeXorgCfFiles.new.brew do