Commit fbf9ffb5 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #527 from jam7/fix-clisp

Fix clisp
parents 635fc33f 92af3d2c
require 'package' require 'package'
class Clisp < Package class Clisp < Package
version '2.49-1' version '2.49-2'
source_url 'ftp://ftp.gnu.org/pub/gnu/clisp/release/2.49/clisp-2.49.tar.bz2' source_url 'ftp://ftp.gnu.org/pub/gnu/clisp/release/2.49/clisp-2.49.tar.bz2'
source_sha1 '7e8d585ef8d0d6349ffe581d1ac08681e6e670d4' source_sha1 '7e8d585ef8d0d6349ffe581d1ac08681e6e670d4'
...@@ -9,10 +9,14 @@ class Clisp < Package ...@@ -9,10 +9,14 @@ class Clisp < Package
depends_on 'ffcall' depends_on 'ffcall'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure", "--disable-static", "--enable-static", "--with-pic"
FileUtils.cd('src') do FileUtils.cd('src') do
system "ulimit -s 16384" # disable unavailable "-R" option
system "make" # modifying configure options doesn't work for this
system "sed", "-i", "Makefile", "-e", "s:-R/usr/local/lib ::"
# force to compile in sequential since clisp Makefile doesn't work in parallel
system "make", "-j1"
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment