New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19493: erlang-r13b-2.diff

File erlang-r13b-2.diff, 3.2 KB (added by nottwo@…, 3 years ago)
  • dports/lang/erlang/Portfile

    diff --git a/dports/lang/erlang/Portfile b/dports/lang/erlang/Portfile
    index a475c9d..b3eaaa8 100644
    a b  
    33PortSystem 1.0 
    44name            erlang 
    55version         R13B 
    6 revision        1 
     6revision        2 
    77categories      lang erlang 
    88maintainers     bfulgham@macports.org 
    99platforms       darwin 
  • dports/lang/erlang/files/patch-erts_configure.diff

    diff --git a/dports/lang/erlang/files/patch-erts_configure.diff b/dports/lang/erlang/files/patch-erts_configure.diff
    index 60d5e7c..daf64dc 100644
    a b  
    11--- erts/configure.orig 2009-04-21 11:33:14.000000000 -0400 
    22+++ erts/configure      2009-04-21 10:49:56.000000000 -0400 
    3 @@ -19528,6 +19742,91 @@ 
     3@@ -19528,6 +19742,95 @@ 
    44        esac 
    55   fi 
    66 fi 
    77+ 
    88+case $ARCH-$OPSYS in 
    99+       amd64-darwin*|x86-darwin*) 
    10 +               { $as_echo "$as_me:$LINENO: checking For modern (leopard) style mcontext_t" >&5 
    11 +$as_echo_n "checking For modern (leopard) style mcontext_t... " >&6; } 
     10+               echo "$as_me:$LINENO: checking For modern (leopard) style mcontext_t" >&5 
     11+echo $ECHO_N "checking For modern (leopard) style mcontext_t... $ECHO_C" >&6 
    1212+               cat >conftest.$ac_ext <<_ACEOF 
    1313+/* confdefs.h.  */ 
    1414+_ACEOF 
     
    4646+} 
    4747+_ACEOF 
    4848+rm -f conftest.$ac_objext 
    49 +if { (ac_try="$ac_compile" 
    50 +case "(($ac_try" in 
    51 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    52 +  *) ac_try_echo=$ac_try;; 
    53 +esac 
    54 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    55 +$as_echo "$ac_try_echo") >&5 
    56 +  (eval "$ac_compile") 2>conftest.er1 
     49+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     50+  (eval $ac_compile) 2>conftest.er1 
    5751+  ac_status=$? 
    5852+  grep -v '^ *+' conftest.er1 >conftest.err 
    5953+  rm -f conftest.er1 
    6054+  cat conftest.err >&5 
    61 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    62 +  (exit $ac_status); } && { 
    63 +        test -z "$ac_c_werror_flag" || 
    64 +        test ! -s conftest.err 
    65 +       } && test -s conftest.$ac_objext; then 
     55+  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     56+  (exit $ac_status); } && 
     57+        { ac_try='test -z "$ac_c_werror_flag" 
     58+                        || test ! -s conftest.err' 
     59+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     60+  (eval $ac_try) 2>&5 
     61+  ac_status=$? 
     62+  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     63+  (exit $ac_status); }; } && 
     64+        { ac_try='test -s conftest.$ac_objext' 
     65+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     66+  (eval $ac_try) 2>&5 
     67+  ac_status=$? 
     68+  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     69+  (exit $ac_status); }; }; then 
    6670+  darwin_mcontext_leopard=yes 
    6771+else 
    68 $as_echo "$as_me: failed program was:" >&5 
     72echo "$as_me: failed program was:" >&5 
    6973+sed 's/^/| /' conftest.$ac_ext >&5 
    7074+ 
    7175+       darwin_mcontext_leopard=no 
    7276+fi 
    7377+ 
    74 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     78+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7579+                               if test X"$darwin_mcontext_leopard" = X"yes"; then 
    7680+ 
    7781+cat >>confdefs.h <<\_ACEOF 
    7882+#define DARWIN_MODERN_MCONTEXT /**/ 
    7983+_ACEOF 
    8084+ 
    81 +                                  { $as_echo "$as_me:$LINENO: result: yes" >&5 
    82 +$as_echo "yes" >&6; } 
     85+                                  echo "$as_me:$LINENO: result: yes" >&5 
     86+echo "${ECHO_T}yes" >&6 
    8387+                               else 
    84 +                                  { $as_echo "$as_me:$LINENO: result: no" >&5 
    85 +$as_echo "no" >&6; } 
     88+                                  echo "$as_me:$LINENO: result: no" >&5 
     89+echo "${ECHO_T}no" >&6 
    8690+                               fi 
    8791+               ;; 
    8892+       *)