[98017] trunk/dports/lang/guile16
ryandesign at macports.org
ryandesign at macports.org
Sat Sep 22 01:55:31 PDT 2012
Revision: 98017
http://trac.macports.org//changeset/98017
Author: ryandesign at macports.org
Date: 2012-09-22 01:55:31 -0700 (Sat, 22 Sep 2012)
Log Message:
-----------
guile16: fix build error "expected a platform name, e.g., 'macosx'" on Mountain Lion (#35836)
Modified Paths:
--------------
trunk/dports/lang/guile16/Portfile
trunk/dports/lang/guile16/files/patch-posix.c.diff
trunk/dports/lang/guile16/files/patch-scmsigs.c.diff
Added Paths:
-----------
trunk/dports/lang/guile16/files/patch-gc_os_dep.c.diff
Modified: trunk/dports/lang/guile16/Portfile
===================================================================
--- trunk/dports/lang/guile16/Portfile 2012-09-22 08:23:37 UTC (rev 98016)
+++ trunk/dports/lang/guile16/Portfile 2012-09-22 08:55:31 UTC (rev 98017)
@@ -48,6 +48,7 @@
patchfiles patch-scmsigs.c.diff \
patch-posix.c.diff \
+ patch-gc_os_dep.c.diff \
patch-guile.c.diff
depends_lib port:readline
@@ -57,10 +58,6 @@
--infodir=${prefix}/share/info \
--mandir=${prefix}/share/man
-platform darwin {
- configure.args-append CFLAGS="-Dmacosx"
-}
-
post-destroot {
file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm
file delete ${destroot}${prefix}/share/info/goops.info
Added: trunk/dports/lang/guile16/files/patch-gc_os_dep.c.diff
===================================================================
--- trunk/dports/lang/guile16/files/patch-gc_os_dep.c.diff (rev 0)
+++ trunk/dports/lang/guile16/files/patch-gc_os_dep.c.diff 2012-09-22 08:55:31 UTC (rev 98017)
@@ -0,0 +1,11 @@
+--- libguile/gc_os_dep.c.orig 2004-12-13 23:21:39.000000000 -0600
++++ libguile/gc_os_dep.c 2012-09-22 03:46:47.000000000 -0500
+@@ -265,7 +265,7 @@
+ # define MACOS
+ # define mach_type_known
+ # endif
+-# if defined(macosx) || \
++# if defined(__APPLE__) || \
+ (defined(__APPLE__) && defined(__MACH__) && defined(__ppc__))
+ # define MACOSX
+ # define POWERPC
Modified: trunk/dports/lang/guile16/files/patch-posix.c.diff
===================================================================
--- trunk/dports/lang/guile16/files/patch-posix.c.diff 2012-09-22 08:23:37 UTC (rev 98016)
+++ trunk/dports/lang/guile16/files/patch-posix.c.diff 2012-09-22 08:55:31 UTC (rev 98017)
@@ -4,7 +4,7 @@
SCM_MEMORY_ERROR;
strncpy (ptr, SCM_STRING_CHARS (str), SCM_STRING_LENGTH (str));
ptr[SCM_STRING_LENGTH (str)] = 0;
-+#if defined(macosx)
++#if defined(__APPLE__)
+ if (!strchr(ptr, '=')) {
+ unsetenv(ptr);
+ rv = 0;
Modified: trunk/dports/lang/guile16/files/patch-scmsigs.c.diff
===================================================================
--- trunk/dports/lang/guile16/files/patch-scmsigs.c.diff 2012-09-22 08:23:37 UTC (rev 98016)
+++ trunk/dports/lang/guile16/files/patch-scmsigs.c.diff 2012-09-22 08:55:31 UTC (rev 98017)
@@ -5,7 +5,7 @@
#ifndef USE_THREADS
-#if defined(MISSING_SLEEP_DECL)
-+#if defined(MISSING_SLEEP_DECL) && ! defined(macosx)
++#if defined(MISSING_SLEEP_DECL) && ! defined(__APPLE__)
int sleep ();
#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120922/26cdadaf/attachment.html>
More information about the macports-changes
mailing list