Ticket #46517: octave_module_gcc_deps.diff
File octave_module_gcc_deps.diff, 993 bytes (added by michaelld (Michael Dickens), 10 years ago) |
---|
-
_resources/port1.0/group/octave-1.0.tcl
52 52 master_sites sourceforge:octave 53 53 distname ${octave.module}-${version} 54 54 55 depends_lib 55 depends_lib-append path:bin/octave:octave 56 56 57 57 worksrcdir ${octave.module} 58 58 … … 74 74 75 75 } 76 76 77 # octave modules depend on the same version of GCC used to compile 78 # Octave; defaults to GCC49 if octave is not installed. 79 80 set octave_gcc gcc49 81 82 if {[file exists ${prefix}/bin/mkoctfile]} { 83 set octave_gcc [exec ${prefix}/bin/mkoctfile -p FLIBS | \ 84 tr "/" "\n" | grep gcc4 | sort -u] 85 } 86 87 depends_lib-append port:${octave_gcc} 88 77 89 post-extract { 78 90 79 91 # rename the effective worksrcdir to always be ${octave.module}