aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mawk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mawk.rb')
-rw-r--r--Library/Formula/mawk.rb19
1 files changed, 16 insertions, 3 deletions
diff --git a/Library/Formula/mawk.rb b/Library/Formula/mawk.rb
index 776117d1e..a2079249d 100644
--- a/Library/Formula/mawk.rb
+++ b/Library/Formula/mawk.rb
@@ -7,9 +7,7 @@ class Mawk <Formula
@version='1.3.3'
def patches
- {
- :p1 => ["http://bitbucket.org/0xffea/patches/raw/6402e50a132f/homebrew/mawk-001-shell.diff"]
- }
+ { :p1 => DATA }
end
def install
@@ -17,3 +15,18 @@ class Mawk <Formula
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