diff options
| author | Nibbles 2bits | 2011-11-06 23:43:43 -0800 |
|---|---|---|
| committer | Jack Nagel | 2011-11-07 14:09:18 -0600 |
| commit | f80d3b3a1877c562d60596f48445cece7981d098 (patch) | |
| tree | 6e16bfab6d4fac6c520c689a572ae426b74fa386 /Library/Formula | |
| parent | 894bd9acc98bb3036d82ccc1235b7722165fedc8 (diff) | |
| download | homebrew-f80d3b3a1877c562d60596f48445cece7981d098.tar.bz2 | |
calcurse 2.9.2
Update calcurse to version 2.9.2.
Update to the new homepage.
Update to the new tarball location.
Remove patches merged upstream.
Remove ENV.O3 flag, which is the default now.
Remove mandir, which is fixed upstream.
Compiles and runs on Snow Leopard using XCode-4.0.2, clang, & llvm.
Closes #8486.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/calcurse.rb | 45 |
1 files changed, 6 insertions, 39 deletions
diff --git a/Library/Formula/calcurse.rb b/Library/Formula/calcurse.rb index 3f0424aa9..9a554d0d0 100644 --- a/Library/Formula/calcurse.rb +++ b/Library/Formula/calcurse.rb @@ -1,50 +1,17 @@ require 'formula' class Calcurse < Formula - url 'http://culot.org/cgi-bin/get.cgi?calcurse-2.7.tar.gz' - homepage 'http://culot.org/calcurse/' - md5 'eddfae36370fd89532149fe80c312e1e' + url 'http://calcurse.org/files/calcurse-2.9.2.tar.gz' + homepage 'http://calcurse.org/' + md5 '5cb7d9c9edddc551fc62c9c5733591c5' depends_on 'gettext' - def patches - DATA - end - def install - ENV.append 'CFLAGS', "-I#{include} -fnested-functions" - ENV.append 'LDFLAGS', "-lintl" - ENV.O3 - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--mandir=#{man}" + # need this flag otherwise there is a build error. + ENV.append 'CFLAGS', "-fnested-functions" + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" system "make install" end - end -__END__ -diff --git a/configure b/configure -index 69d2800..175871e 100755 ---- a/configure -+++ b/configure -@@ -1488,7 +1488,8 @@ else - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else -- mkdir_p='$(SHELL) $(install_sh) -d' -+ #mkdir_p='$(SHELL) $(install_sh) -d' -+ mkdir_p='$(install_sh) -d' - fi - fi - -@@ -1706,7 +1707,8 @@ else - fi - - fi --INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" -+#INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" -+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" - - # We need awk for the "check" target. The system "awk" is bad on - # some platforms. |
