[47001] trunk/dports/lang/gnat-gcc/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Feb 19 13:18:24 PST 2009


On Feb 19, 2009, at 11:11, krischik at macports.org wrote:

> Revision: 47001
>           http://trac.macports.org/changeset/47001
> Author:   krischik at macports.org
> Date:     2009-02-19 09:11:31 -0800 (Thu, 19 Feb 2009)
> Log Message:
> -----------
> Fix file names
>
> Modified Paths:
> --------------
>     trunk/dports/lang/gnat-gcc/Portfile
>
> Modified: trunk/dports/lang/gnat-gcc/Portfile
> ===================================================================
> --- trunk/dports/lang/gnat-gcc/Portfile	2009-02-19 16:46:21 UTC  
> (rev 47000)
> +++ trunk/dports/lang/gnat-gcc/Portfile	2009-02-19 17:11:31 UTC  
> (rev 47001)
> @@ -5,7 +5,7 @@
>
>  name            gnat-gcc
>  version         4.3.3
> -revision        3
> +revision        4
>  platforms       darwin
>  categories      lang
>  maintainers     macports.org:krischik
> @@ -46,6 +46,8 @@
>
>  worksrcdir      build
>
> +build.args	--jobs=4

Is this for parallel building? If so, would there be a way to respect  
the user's choice of build_make_jobs from macports.conf?

>  pre-configure {
>      file mkdir ${worksrcpath}
>  }
> @@ -139,10 +141,8 @@
>  # Ada is the only language apart from C which is self hosted -  
> meaning: you need
>  # an ada compiler to compile ada. hence it is just a variant.
>  #
> -variant  
> macada                                                              \
> -    description "Adds Ada support using the MacAda compiler to  
> bootstrap!"  {
> -    #configure.args-delete   --enable-languages=c,c++,objc,obj-c+ 
> +,java,fortran
> -    #configure.args-append   --enable-languages=c,c++,ada,objc,obj- 
> c++,java,fortran
> +variant macada                                        \
> +    description "Uses MacAda compiler to bootstrap!"  {
>      configure.cc            /usr/local/ada-4.3/bin/gcc
>      configure.cpp           /usr/local/ada-4.3/bin/cpp
>      configure.cxx           /usr/local/ada-4.3/bin/g++
> @@ -152,14 +152,12 @@
>      configure.env-append    GNATBIND=/usr/local/ada-4.3/bin/gnatbind
>  }
>
> -variant  
> ada                                                                    
>   \
> -    description "Adds Ada support using the MacPorts Ada compiler  
> to bootstrap!" {
> -    #configure.args-delete   --enable-languages=c,c++,objc,obj-c+ 
> +,java,fortran
> -    #configure.args-append   --enable-languages=c,c++,ada,objc,obj- 
> c++,java,fortran
> -    configure.cc            /opt/local/bin/gcc-mp-4.3
> -    configure.cpp           /opt/local/bin/cpp-mp-4.3
> -    configure.cxx           /opt/local/bin/g++-mp-4.3
> -    configure.objc          /opt/local/bin/gcc-mp-4.3
> +variant ada                                                    \
> +    description "Uses the MacPorts Ada compiler to bootstrap!" {
> +    configure.cc            /opt/local/bin/gcc-gnat-4.3
> +    configure.cpp           /opt/local/bin/cpp-gnat-4.3
> +    configure.cxx           /opt/local/bin/g++-gnat-4.3
> +    configure.objc          /opt/local/bin/gcc-gnat-4.3
>      configure.env-append    PATH=/opt/local/bin:$env(PATH)
>      configure.env-append    GNATMAKE=/opt/local/bin/gnatmake
>      configure.env-append    GNATBIND=/opt/local/bin/gnatbind

I didn't see this before, but please use ${prefix} instead of /opt/ 
local. MacPorts might be installed elsewhere.





More information about the macports-dev mailing list