Ignore:
Timestamp:
Sep 22, 2012, 8:55:31 AM (7 years ago)
Author:
ryandesign@…
Message:

guile16: fix build error "expected a platform name, e.g., 'macosx'" on Mountain Lion (#35836)

Location:
trunk/dports/lang/guile16
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/guile16/Portfile

    r85485 r98017  
    4949patchfiles      patch-scmsigs.c.diff        \
    5050                patch-posix.c.diff        \
     51                patch-gc_os_dep.c.diff \
    5152                patch-guile.c.diff
    5253
     
    5758                --infodir=${prefix}/share/info    \
    5859                --mandir=${prefix}/share/man
    59 
    60 platform darwin {
    61     configure.args-append    CFLAGS="-Dmacosx"
    62 }
    6360
    6461post-destroot {
  • trunk/dports/lang/guile16/files/patch-posix.c.diff

    r31676 r98017  
    55   strncpy (ptr, SCM_STRING_CHARS (str), SCM_STRING_LENGTH (str));
    66   ptr[SCM_STRING_LENGTH (str)] = 0;
    7 +#if defined(macosx)
     7+#if defined(__APPLE__)
    88+  if (!strchr(ptr, '=')) {
    99+    unsetenv(ptr);
  • trunk/dports/lang/guile16/files/patch-scmsigs.c.diff

    r31676 r98017  
    66 
    77-#if defined(MISSING_SLEEP_DECL)
    8 +#if defined(MISSING_SLEEP_DECL) && ! defined(macosx)
     8+#if defined(MISSING_SLEEP_DECL) && ! defined(__APPLE__)
    99 int sleep ();
    1010 #endif
Note: See TracChangeset for help on using the changeset viewer.