summaryrefslogtreecommitdiff
path: root/homebrew/ccze/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ccze/.make.sh-auto')
-rw-r--r--homebrew/ccze/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/ccze/.make.sh-auto b/homebrew/ccze/.make.sh-auto
new file mode 100644
index 000000000..1041952dd
--- /dev/null
+++ b/homebrew/ccze/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace "src/ccze-compat.c", "#if HAVE_SUBOPTARg", "#if HAVE_SUBOPTARG"
+inreplace "src/Makefile.in", "-Wreturn-type -Wswitch -Wmulticharacter", "-Wreturn-type -Wswitch"
+pkg:configure --with-builtins=all
+make DESTDIR=${PKG_DEST} install
+share.install prefix/"man"