Skip to content

Commit

Permalink
ht 2.0.21
Browse files Browse the repository at this point in the history
stripped a ncurses patch
  • Loading branch information
brettkoonce committed Dec 5, 2012
1 parent 71d5120 commit 0b89b1a
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions Library/Formula/ht.rb
@@ -1,17 +1,12 @@
require 'formula' require 'formula'


class Ht < Formula class Ht < Formula
url 'http://downloads.sourceforge.net/project/hte/ht-source/ht-2.0.20.tar.bz2'
homepage 'http://hte.sf.net/' homepage 'http://hte.sf.net/'
sha256 '4aa162f10a13e60859bef1f04c6529f967fdfd660ae421ee25eab1fbabcd1ed0' url 'http://sourceforge.net/projects/hte/files/ht-source/ht-2.0.21.tar.bz2'
sha256 'f9c04f2074d6a774bae0d7fdc3f8b2c579db39aad0761b33b4884949fc378934'


depends_on 'lzo' depends_on 'lzo'


# Use ncurses instead of ncursesw
def patches
DATA
end

def install def install
system "chmod +x ./install-sh" system "chmod +x ./install-sh"
system "./configure", "--disable-dependency-tracking", system "./configure", "--disable-dependency-tracking",
Expand All @@ -20,18 +15,3 @@ def install
system "make install" system "make install"
end end
end end

__END__
diff --git a/configure b/configure
index 0bef387..0e47404 100755
--- a/configure
+++ b/configure
@@ -5738,7 +5738,7 @@ if test "x$ac_cv_header_ncurses_h" = xyes; then :
_ACEOF

$as_echo "#define CURSES_HDR <ncurses.h>" >>confdefs.h
- CURSES_LIB=ncursesw
+ CURSES_LIB=ncurses
fi

done

0 comments on commit 0b89b1a

Please sign in to comment.