summaryrefslogtreecommitdiff
path: root/homebrew/mtools/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mtools/.make.sh-auto')
-rw-r--r--homebrew/mtools/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/mtools/.make.sh-auto b/homebrew/mtools/.make.sh-auto
new file mode 100644
index 000000000..ad9760843
--- /dev/null
+++ b/homebrew/mtools/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+if ENV.cc == "clang"
+inreplace "sysincludes.h", "
+"
+end
+args = %W[LIBS=-liconv --disable-debug --prefix=#{prefix} --sysconfdir=#{etc} --without-x ]
+pkg:configure *args
+make
+ENV.deparallelize
+make DESTDIR=${PKG_DEST} install