# -*- mode: tcl; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
maintainers {easieste @easye} openmaintainer
description The Clisp Common Lisp Implementation
CLISP is a Common Lisp implementation by Bruno Haible, \
formerly of Karlsruhe University, and Michael Stoll, \
formerly of Munich University, both in Germany. \
It mostly supports the Lisp described in the \
ANSI Common Lisp standard. \
CLISP includes an interpreter, a compiler, almost all \
of CLOS, a foreign language interface and a socket interface. \
An X11 interface is available through CLX and Garnet. \
Command line editing is provided by readline.
homepage http://www.clisp.org
master_sites gnu:clisp/release/${version} \
checksums md5 1962b99d5e530390ec3829236d168649 \
sha1 7e8d585ef8d0d6349ffe581d1ac08681e6e670d4 \
rmd160 bfb81abf942b07bbb8d83505f287d546b1bbdacc
depends_lib port:readline \
patchfiles patch-src_lispbibl_d.diff
patchfiles-append readline-7.patch
# Enable a subset of architectures due to inline-asm
supported_archs ppc i386 x86_64
# Works with Xcode 7.0 and macports-clang-3.4
# Failed in Lion (https://trac.macports.org/ticket/33344)
# Assuming {clang < 300}, but please refine if more datapoints become available
compiler.blacklist {clang < 300}
if {${os.platform} eq "darwin" && ${os.major} >= 11} {
configure.cflags-append -Wl,-no_pie
configure.cc-append ${configure.cc_archflags}
configure.args --with-libiconv-prefix=${prefix} \
--with-libreadline-prefix=${prefix} \
--with-libsigsegv-prefix=${prefix} \
build.dir ${worksrcpath}/src
build.cmd "ulimit -s 16384 && make"
livecheck.url https://ftp.gnu.org/gnu/${name}/release/?C=M&O=D
livecheck.regex >(\[0-9.\]+)/<