[23299] trunk/dports/lang

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 28 09:17:41 PDT 2007


Revision: 23299
          http://trac.macosforge.org/projects/macports/changeset/23299
Author:   mas at macports.org
Date:     2007-03-28 09:17:41 -0700 (Wed, 28 Mar 2007)

Log Message:
-----------
NEW: guile16 1.6.8

Added Paths:
-----------
    trunk/dports/lang/guile16/
    trunk/dports/lang/guile16/Portfile
    trunk/dports/lang/guile16/files/
    trunk/dports/lang/guile16/files/patch-guile.c
    trunk/dports/lang/guile16/files/patch-posix.c
    trunk/dports/lang/guile16/files/patch-scmsigs.c

Added: trunk/dports/lang/guile16/Portfile
===================================================================
--- trunk/dports/lang/guile16/Portfile	                        (rev 0)
+++ trunk/dports/lang/guile16/Portfile	2007-03-28 16:17:41 UTC (rev 23299)
@@ -0,0 +1,71 @@
+# $Id$
+
+PortSystem 1.0
+name		guile
+version		1.6.8
+categories	lang
+maintainers	mas at macports.org openmaintainer at macports.org
+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
+
+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.env	CC=/usr/bin/gcc-4.0	\
+				CPP=/usr/bin/cpp-4.0	\
+				CXX=/usr/bin/g++-4.0
+	}
+
+variant darwin {
+		configure.args-append	CFLAGS="-no-cpp-precomp -Dmacosx"
+	}
+
+post-destroot	{
+		  file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm
+		}
+


Property changes on: trunk/dports/lang/guile16/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/lang/guile16/files/patch-guile.c
===================================================================
--- trunk/dports/lang/guile16/files/patch-guile.c	                        (rev 0)
+++ trunk/dports/lang/guile16/files/patch-guile.c	2007-03-28 16:17:41 UTC (rev 23299)
@@ -0,0 +1,11 @@
+--- libguile/guile.c.org	2005-06-23 08:43:29.000000000 +0200
++++ libguile/guile.c	2005-06-23 08:44:09.000000000 +0200
+@@ -88,7 +88,7 @@
+ {
+ #ifdef DYNAMIC_LINKING
+   /* libtool automagically inserts this variable into your executable... */
+-  extern const scm_lt_dlsymlist lt_preloaded_symbols[];
++  extern const scm_lt_dlsymlist *lt_preloaded_symbols;
+   scm_lt_dlpreload_default (lt_preloaded_symbols);
+ #endif
+   scm_boot_guile (argc, argv, inner_main, 0);


Property changes on: trunk/dports/lang/guile16/files/patch-guile.c
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/lang/guile16/files/patch-posix.c
===================================================================
--- trunk/dports/lang/guile16/files/patch-posix.c	                        (rev 0)
+++ trunk/dports/lang/guile16/files/patch-posix.c	2007-03-28 16:17:41 UTC (rev 23299)
@@ -0,0 +1,16 @@
+--- libguile/posix.c.sav	Tue Jan 25 19:01:44 2005
++++ libguile/posix.c	Tue Jan 25 19:01:55 2005
+@@ -1257,6 +1257,13 @@
+     SCM_MEMORY_ERROR;
+   strncpy (ptr, SCM_STRING_CHARS (str), SCM_STRING_LENGTH (str));
+   ptr[SCM_STRING_LENGTH (str)] = 0;
++#if defined(macosx)
++  if (!strchr(ptr, '=')) {
++    unsetenv(ptr);
++    rv = 0;
++  }
++  else
++#endif
+   rv = putenv (ptr);
+   if (rv < 0)
+     SCM_SYSERROR;


Property changes on: trunk/dports/lang/guile16/files/patch-posix.c
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/lang/guile16/files/patch-scmsigs.c
===================================================================
--- trunk/dports/lang/guile16/files/patch-scmsigs.c	                        (rev 0)
+++ trunk/dports/lang/guile16/files/patch-scmsigs.c	2007-03-28 16:17:41 UTC (rev 23299)
@@ -0,0 +1,11 @@
+--- libguile/scmsigs.c.sav	Tue Feb 11 22:07:54 2003
++++ libguile/scmsigs.c	Tue Feb 11 22:08:18 2003
+@@ -66,7 +66,7 @@
+ /* The thread system has its own sleep and usleep functions.  */
+ #ifndef USE_THREADS
+ 
+-#if defined(MISSING_SLEEP_DECL)
++#if defined(MISSING_SLEEP_DECL) && ! defined(macosx)
+ int sleep ();
+ #endif
+ 


Property changes on: trunk/dports/lang/guile16/files/patch-scmsigs.c
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070328/e5ab2720/attachment.html


More information about the macports-changes mailing list