diff --git a/dports/lang/erlang/Portfile b/dports/lang/erlang/Portfile
index a475c9d..b3eaaa8 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | name erlang |
5 | 5 | version R13B |
6 | | revision 1 |
| 6 | revision 2 |
7 | 7 | categories lang erlang |
8 | 8 | maintainers bfulgham@macports.org |
9 | 9 | platforms darwin |
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
|
|
1 | 1 | --- erts/configure.orig 2009-04-21 11:33:14.000000000 -0400 |
2 | 2 | +++ erts/configure 2009-04-21 10:49:56.000000000 -0400 |
3 | | @@ -19528,6 +19742,91 @@ |
| 3 | @@ -19528,6 +19742,95 @@ |
4 | 4 | esac |
5 | 5 | fi |
6 | 6 | fi |
7 | 7 | + |
8 | 8 | +case $ARCH-$OPSYS in |
9 | 9 | + 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 |
12 | 12 | + cat >conftest.$ac_ext <<_ACEOF |
13 | 13 | +/* confdefs.h. */ |
14 | 14 | +_ACEOF |
… |
… |
|
46 | 46 | +} |
47 | 47 | +_ACEOF |
48 | 48 | +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 |
57 | 51 | + ac_status=$? |
58 | 52 | + grep -v '^ *+' conftest.er1 >conftest.err |
59 | 53 | + rm -f conftest.er1 |
60 | 54 | + 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 |
66 | 70 | + darwin_mcontext_leopard=yes |
67 | 71 | +else |
68 | | + $as_echo "$as_me: failed program was:" >&5 |
| 72 | + echo "$as_me: failed program was:" >&5 |
69 | 73 | +sed 's/^/| /' conftest.$ac_ext >&5 |
70 | 74 | + |
71 | 75 | + darwin_mcontext_leopard=no |
72 | 76 | +fi |
73 | 77 | + |
74 | | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 78 | +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
75 | 79 | + if test X"$darwin_mcontext_leopard" = X"yes"; then |
76 | 80 | + |
77 | 81 | +cat >>confdefs.h <<\_ACEOF |
78 | 82 | +#define DARWIN_MODERN_MCONTEXT /**/ |
79 | 83 | +_ACEOF |
80 | 84 | + |
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 |
83 | 87 | + 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 |
86 | 90 | + fi |
87 | 91 | + ;; |
88 | 92 | + *) |