# $Id: Portfile 30200 2007-10-22 21:01:36Z jmpp@macports.org $ PortSystem 1.0 name guile16 version 1.6.8 categories lang maintainers mas@macports.org openmaintainer platforms darwin description GNU's Ubiquitous Intelligent Language for Extension (guile) long_description \ Guile is an interpreter for the Scheme programming \ language, packaged for use in a wide variety of \ environments. Guile implements Scheme as described in \ the Revised^5 Report on the Algorithmic Language Scheme \ (usually known as R5RS), providing clean and general \ data and control structures. \ \ Guile goes beyond the rather austere language presented \ in R5RS, extending it with a module system, full access \ to POSIX system calls, networking support, multiple \ threads, dynamic linking, a foreign function call \ interface, powerful string processing, and many other \ features needed for programming in the real world. #bugs On Apple's darwin, the putenv library function acts \ # differently than the GNU version. The patch to \ # libguile/posix.c fixes this, so the guile 'putenv' \ # function doesn't throw a system error. #user_notes You may need to set the environment variable \ # DYLD_LIBRARY_PATH to /opt/local/lib (or wherever \ # the guile libraries have been installed) if you want \ # to load guile modules from an application linked with \ # libguile. This should only apply to developers using \ # guile as an extension language. homepage http://www.gnu.org/software/guile/guile.html master_sites gnu:guile distname guile-${version} checksums md5 2756b01f428b910d33267aeaa0e2d59a patchfiles patch-scmsigs.c \ patch-posix.c \ patch-guile.c depends_lib port:readline configure.args CPPFLAGS="-I${prefix}/include" \ LDFLAGS=-L${prefix}/lib \ --infodir=${prefix}/share/info \ --mandir=${prefix}/share/man platform darwin 6 { depends_lib-append lib:libdl:dlcompat } platform darwin 8 { configure.compiler gcc-4.0 } platform darwin { configure.args-append CFLAGS="-no-cpp-precomp -Dmacosx" } post-destroot { file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm }