Ticket #14315: patch-gcc_select-base.diff
File patch-gcc_select-base.diff, 1.7 KB (added by raimue (Rainer Müller), 17 years ago) |
---|
-
Users/Raim/src/macports/trunk/dports/sysutils/gcc_select/Portfile
4 4 5 5 name gcc_select 6 6 version 0.1 7 revision 1 7 8 categories sysutils 8 9 platforms darwin 9 10 maintainers mww … … 19 20 20 21 configure.args --mandir=${prefix}/share/man --name=gcc 21 22 23 post-destroot { 24 xinstall -m 644 -W ${filespath} base \ 25 ${destroot}${prefix}/etc/select/gcc 26 } 27 22 28 # install & select gcc33 23 29 platform darwin 7 { 24 30 post-destroot { 25 xinstall -m 644 -W ${filespath} basegcc33 \31 xinstall -m 644 -W ${filespath} gcc33 \ 26 32 ${destroot}${prefix}/etc/select/gcc 27 33 system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc33" 28 34 } … … 31 37 # install gcc33, gcc40 & select gcc40 32 38 platform darwin 8 ppc { 33 39 post-destroot { 34 xinstall -m 644 -W ${filespath} basegcc40 gcc33 \40 xinstall -m 644 -W ${filespath} gcc40 gcc33 \ 35 41 ${destroot}${prefix}/etc/select/gcc 36 42 system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40" 37 43 } … … 40 46 # install & select gcc40 41 47 platform darwin 8 i386 { 42 48 post-destroot { 43 xinstall -m 644 -W ${filespath} base gcc40 \ 49 xinstall -m 644 -W ${filespath} gcc40 \ 50 ${destroot}${prefix}/etc/select/gcc 51 system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40" 52 } 53 } 54 55 # install & select gcc40 56 platform darwin 9 { 57 post-destroot { 58 xinstall -m 644 -W ${filespath} gcc40 \ 44 59 ${destroot}${prefix}/etc/select/gcc 45 60 system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40" 46 61 }