Files
tigerbrew/Library/Formula/mawk.rb
T
Max Howell c8c2cb2dd3 Use __END__ patch rather than github gist
Also there was seemingly some bug where if you didn't read the pipe for the
patch commmand the exit status was non-zero.
2009-09-16 14:49:06 +01:00

33 lines
826 B
Ruby

require 'brewkit'
class Mawk <Formula
@url='http://invisible-island.net/datafiles/release/mawk.tar.gz'
@homepage='http://www.gnu.org/software/gnugo/gnugo.html'
@md5='5d42d8c3fb9f54f3e35fe56d7b62887e'
@version='1.3.3'
def patches
{ :p1 => DATA }
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-readline=/usr/lib"
system "make install"
end
end
__END__
diff -r 3358498a60ea Makefile.in
--- a/Makefile.in Mon Sep 14 19:17:51 2009 +0200
+++ b/Makefile.in Mon Sep 14 19:18:19 2009 +0200
@@ -118,7 +118,7 @@
$(BINDIR) \
$(MANDIR) :
- sh -c "mkdirs.sh $@"
+ sh -c "./mkdirs.sh $@"
# output from mawk -f deps.awk *.c
array.o : config.h field.h bi_vars.h mawk.h symtype.h nstd.h memory.h array.h zmalloc.h types.h sizes.h