[84043] trunk/dports/lang/gcc43/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Sep 15 21:16:38 PDT 2011


On Sep 15, 2011, at 13:25, mww at macports.org wrote:

> Revision: 84043
>          http://trac.macports.org/changeset/84043
> Author:   mww at macports.org
> Date:     2011-09-15 11:25:33 -0700 (Thu, 15 Sep 2011)
> Log Message:
> -----------
> gcc43: version info-files; increase revision;
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/gcc43/Portfile
> 
> Modified: trunk/dports/lang/gcc43/Portfile
> ===================================================================
> --- trunk/dports/lang/gcc43/Portfile	2011-09-15 17:37:04 UTC (rev 84042)
> +++ trunk/dports/lang/gcc43/Portfile	2011-09-15 18:25:33 UTC (rev 84043)
> @@ -6,7 +6,7 @@
> 
> name            gcc43
> version         4.3.6
> -revision        0
> +revision        1
> platforms       darwin
> categories      lang
> maintainers     mww openmaintainer
> @@ -82,6 +82,7 @@
>         --includedir=${prefix}/include/${name} \
>         --infodir=${prefix}/share/info \
>         --mandir=${prefix}/share/man \
> +        --datadir=${prefix}/share/${name} \
>         --with-local-prefix=${prefix} \
>         --with-system-zlib \
>         --disable-nls \
> @@ -133,6 +134,9 @@
>     if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
>         file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
>     }
> +    foreach file {cp-tools cpp cppinternals gcc gccinstall gccint gcj gfortran libgomp} {
> +        system -W ${destroot}${prefix}/share/info "mv ${file}.info ${file}-${major}.info"
> +    }

You don't need "system" to rename files. Just use the "move" Tcl command.




More information about the macports-dev mailing list