summaryrefslogtreecommitdiff
path: root/homebrew/clisp/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/clisp/.make.sh-auto')
-rw-r--r--homebrew/clisp/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/clisp/.make.sh-auto b/homebrew/clisp/.make.sh-auto
new file mode 100644
index 000000000..4562c2c74
--- /dev/null
+++ b/homebrew/clisp/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+ENV.deparallelize
+ENV.O0
+ENV["CC"] = "#{ENV.cc} -m64"
+inreplace "src/makemake.in", "${datarootdir}/emacs/site-lisp", elisp
+pkg:configure --with-readline=yes
+cd "src"
+inreplace "Makefile" do |s|
+s.change_make_var! "CFLAGS", "#{s.get_make_var("CFLAGS")} #{ENV["CFLAGS"]}"