aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-06-28 14:50:48 -0700
committerAdam Vandenberg2014-06-28 14:50:51 -0700
commit7a901c7ebde5e2aabf99289743ead2650caf5fcf (patch)
treece78fa113ba7dd10746311fb34e9add10bbf9f92 /Library
parentc8f7997d3a58cecfc5631e1178321704b0b2562d (diff)
downloadhomebrew-7a901c7ebde5e2aabf99289743ead2650caf5fcf.tar.bz2
texmacs 1.99.1
Note: neither this nor the previously packaged version compile with GCC 4.8 or current versions of clang.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/texmacs.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/Library/Formula/texmacs.rb b/Library/Formula/texmacs.rb
index 169f50e11..5ede2279b 100644
--- a/Library/Formula/texmacs.rb
+++ b/Library/Formula/texmacs.rb
@@ -1,9 +1,10 @@
-require 'formula'
+require "formula"
class Texmacs < Formula
- homepage 'http://www.texmacs.org'
- url 'http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.0.7.20-src.tar.gz'
- sha1 '2865020f89c58f8eb34504cf9ecc53c03038e695'
+ homepage "http://www.texmacs.org"
+ head "svn://svn.savannah.gnu.org/texmacs/trunk/src"
+ url "http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.99.1-src.tar.gz"
+ sha1 "a5c7171644c84866445334b2d0cb39a6d9dd5f54"
depends_on "qt"
depends_on "guile"
@@ -11,10 +12,14 @@ class Texmacs < Formula
depends_on "imagemagick"
depends_on :x11
+ # Fails with clang and gcc4.8 due to out-of-spec C++.
+ # Success with --cc=gcc-4.2
+
def install
system "./configure", "--disable-debug",
- "--prefix=#{prefix}"
+ "--prefix=#{prefix}",
+ "--enable-guile2=yes"
system "make"
- system "make install"
+ system "make", "install"
end
end