Ticket #2892: gcc34.diff
File gcc34.diff, 1.6 KB (added by mww@…, 20 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 name gcc34 5 5 version 3.4.3 6 revision 16 revision 2 7 7 description The GNU compiler collection 8 8 long_description ${description} 9 9 platforms darwin 10 10 categories lang 11 11 maintainers gwright@opendarwin.org 12 12 13 homepage http://gcc.gnu.org/ 13 homepage http://gcc.gnu.org/gcc-3.4/ 14 14 master_sites gnu:/gcc/gcc-${version} 15 15 16 16 #user_notes This port is intended to be used by other ports \ … … 31 31 32 32 33 33 use_bzip2 yes 34 dist files gcc-${version}${extract.suffix}34 distname gcc-${version} 35 35 36 36 checksums md5 e744b30c834360fccac41eb7269a3011 37 37 38 worksrcdir gcc-${version}38 worksrcdir build 39 39 40 pre-configure { cd ${workpath}41 file mkdir build40 pre-configure { 41 file mkdir ${worksrcpath} 42 42 } 43 43 44 configure.dir ${workpath}/build 45 configure.cmd ${worksrcpath}/configure 46 configure.args --enable-languages=c,c++,f77 \ 44 configure.cmd ${workpath}/gcc-${version}/configure 45 configure.args --enable-languages=c,c++,f77,objc \ 47 46 --libdir=${prefix}/lib/gcc-${version} \ 48 47 --infodir=${prefix}/share/info \ 49 48 --mandir=${prefix}/share/man \ 50 49 --with-system-zlib \ 51 50 --disable-nls \ 52 --program-suffix=-${version} \ 53 --with-gxx-include-dir=${prefix}/include/gcc-${version}/c++/${version} 51 --program-suffix=34 \ 52 --with-local-prefix=${prefix} \ 53 --with-gxx-include-dir=${prefix}/include/${name}/c++/ 54 54 55 build.dir ${workpath}/build56 55 build.target bootstrap-lean 57 56 58 57 post-destroot { cd ${destroot}${prefix}