aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorYann-R2014-01-16 00:49:06 +0100
committerMike McQuaid2014-01-16 09:56:40 +0000
commit54477f42a8b9909b1aea8bb89de55dba6e1820c2 (patch)
tree5d30c9dbaccd927fd6b5a5a393497f329a103bf2 /Library/Formula
parent6aa59e53a11f2a73dc82a9054cca9e8133d72864 (diff)
downloadhomebrew-54477f42a8b9909b1aea8bb89de55dba6e1820c2.tar.bz2
imake 1.0.6
Closes #25934. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/imake.rb14
1 files changed, 9 insertions, 5 deletions
diff --git a/Library/Formula/imake.rb b/Library/Formula/imake.rb
index caf4ac289..f9aecae6d 100644
--- a/Library/Formula/imake.rb
+++ b/Library/Formula/imake.rb
@@ -2,15 +2,15 @@ require 'formula'
class Imake < Formula
homepage 'http://xorg.freedesktop.org'
- url 'http://xorg.freedesktop.org/releases/individual/util/imake-1.0.5.tar.bz2'
- sha1 '1fd3dca267d125ad86583d7f9663b6ff532cddd1'
+ url 'http://xorg.freedesktop.org/releases/individual/util/imake-1.0.6.tar.bz2'
+ sha1 'a54c025d7ac9894b6bc919d13454c6adb12ae140'
depends_on 'pkg-config' => :build
depends_on :x11
resource 'xorg-cf-files' do
- url 'http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.4.tar.bz2'
- sha1 'c58b7252df481572ec1ccd77b9f1ab561ed89e45'
+ url 'http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.5.tar.bz2'
+ sha1 'ae22eb81d56d018f0b3b149f70965ebfef2385fd'
end
def patches
@@ -25,7 +25,11 @@ class Imake < Formula
system "make install"
resource('xorg-cf-files').stage do
- system "./configure", "--with-config-dir=#{lib}/X11/config"
+ # Fix for different X11 locations.
+ inreplace "X11.rules", "define TopXInclude /**/",
+ "define TopXInclude -I#{MacOS::X11.include}"
+ system "./configure", "--with-config-dir=#{lib}/X11/config",
+ "--prefix=#{HOMEBREW_PREFIX}"
system "make install"
end
end