Ticket #31171: gcc46-ld.diff
File gcc46-ld.diff, 1.2 KB (added by Kona8lend@…, 13 years ago) |
---|
-
dports/lang/gcc46/files/patch-gcc-exec-tool.in.diff
1 --- gcc/exec-tool.in.orig 2011-01-03 15:52:22.000000000 -0500 2 +++ gcc/exec-tool.in 2011-11-18 01:43:40.000000000 -0500 3 @@ -84,6 +84,11 @@ 4 fi 5 ;; 6 *) 7 + # Late-stage build creates libstdc++.6.dylib which is incompatible with 8 + # darwin-bundled version and when far-reaching DYLD_LIBRARY_PATH is set 9 + # it causes standard Apple devtools such as ld to crash. 10 + test -n "${DYLD_LIBRARY_PATH+1}" && unset DYLD_LIBRARY_PATH 11 + 12 exec $original ${1+"$@"} 13 ;; 14 esac -
dports/lang/gcc46/Portfile
43 43 depends_lib port:gmp port:mpfr port:libiconv port:libmpc port:ppl 44 44 depends_run port:gcc_select 45 45 46 patchfiles patch-gcc-exec-tool.in.diff 47 patch.dir ${workpath}/gcc-${version} 48 46 49 set major 4.6 47 50 48 51 worksrcdir build