[108375] trunk/dports/lang

Lawrence Velázquez larryv at macports.org
Sun Jul 21 15:20:13 PDT 2013


On Jul 21, 2013, at 5:46 PM, jeremyhu at macports.org wrote:

> Revision: 108375
>          https://trac.macports.org/changeset/108375
> Author:   jeremyhu at macports.org
> Date:     2013-07-21 14:46:31 -0700 (Sun, 21 Jul 2013)
> Log Message:
> -----------
> dragonegg-*: Name select file consistently with how it was prior to the subports update
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/dragonegg-3.0/Portfile
>    trunk/dports/lang/dragonegg-3.1/Portfile
>    trunk/dports/lang/dragonegg-3.2/Portfile
>    trunk/dports/lang/dragonegg-3.3/Portfile
>    trunk/dports/lang/dragonegg-3.4/Portfile
> 
> Modified: trunk/dports/lang/dragonegg-3.0/Portfile
> ===================================================================
> --- trunk/dports/lang/dragonegg-3.0/Portfile	2013-07-21 21:36:51 UTC (rev 108374)
> +++ trunk/dports/lang/dragonegg-3.0/Portfile	2013-07-21 21:46:31 UTC (rev 108375)
> @@ -9,12 +9,12 @@
> name                    dragonegg-${llvm_version}
> 
> subport                 ${name}-gcc-4.5 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.5
>     set gcc_version_no_dot 45
> }
> subport                 ${name}-gcc-4.6 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.6
>     set gcc_version_no_dot 46
> }
> @@ -95,7 +95,7 @@
> use_configure no
> 
> select.group    gcc
> -select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc-${gcc_version}
> +select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
> 
> build.target
> 
> 
> Modified: trunk/dports/lang/dragonegg-3.1/Portfile
> ===================================================================
> --- trunk/dports/lang/dragonegg-3.1/Portfile	2013-07-21 21:36:51 UTC (rev 108374)
> +++ trunk/dports/lang/dragonegg-3.1/Portfile	2013-07-21 21:46:31 UTC (rev 108375)
> @@ -9,17 +9,17 @@
> name                    dragonegg-${llvm_version}
> 
> subport                 ${name}-gcc-4.5 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.5
>     set gcc_version_no_dot 45
> }
> subport                 ${name}-gcc-4.6 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.6
>     set gcc_version_no_dot 46
> }
> subport                 ${name}-gcc-4.7 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.7
>     set gcc_version_no_dot 47
> }
> @@ -101,7 +101,7 @@
> use_configure no
> 
> select.group    gcc
> -select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc-${gcc_version}
> +select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
> 
> build.target
> 
> 
> Modified: trunk/dports/lang/dragonegg-3.2/Portfile
> ===================================================================
> --- trunk/dports/lang/dragonegg-3.2/Portfile	2013-07-21 21:36:51 UTC (rev 108374)
> +++ trunk/dports/lang/dragonegg-3.2/Portfile	2013-07-21 21:46:31 UTC (rev 108375)
> @@ -9,17 +9,17 @@
> name                    dragonegg-${llvm_version}
> 
> subport                 ${name}-gcc-4.5 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.5
>     set gcc_version_no_dot 45
> }
> subport                 ${name}-gcc-4.6 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.6
>     set gcc_version_no_dot 46
> }
> subport                 ${name}-gcc-4.7 {
> -    revision            0
> +    revision            1
>     set gcc_version     4.7
>     set gcc_version_no_dot 47
> }
> @@ -101,7 +101,7 @@
> use_configure no
> 
> select.group    gcc
> -select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc-${gcc_version}
> +select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
> 
> build.target
> 
> 
> Modified: trunk/dports/lang/dragonegg-3.3/Portfile
> ===================================================================
> --- trunk/dports/lang/dragonegg-3.3/Portfile	2013-07-21 21:36:51 UTC (rev 108374)
> +++ trunk/dports/lang/dragonegg-3.3/Portfile	2013-07-21 21:46:31 UTC (rev 108375)
> @@ -9,22 +9,22 @@
> name                    dragonegg-${llvm_version}
> 
> subport                 ${name}-gcc-4.5 {
> -    revision            1
> +    revision            2
>     set gcc_version     4.5
>     set gcc_version_no_dot 45
> }
> subport                 ${name}-gcc-4.6 {
> -    revision            1
> +    revision            2
>     set gcc_version     4.6
>     set gcc_version_no_dot 46
> }
> subport                 ${name}-gcc-4.7 {
> -    revision            1
> +    revision            2
>     set gcc_version     4.7
>     set gcc_version_no_dot 47
> }
> subport                 ${name}-gcc-4.8 {
> -    revision            1
> +    revision            2
>     set gcc_version     4.8
>     set gcc_version_no_dot 48
> }
> @@ -95,7 +95,7 @@
> use_configure no
> 
> select.group    gcc
> -select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc-${gcc_version}
> +select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
> 
> build.target
> 
> 
> Modified: trunk/dports/lang/dragonegg-3.4/Portfile
> ===================================================================
> --- trunk/dports/lang/dragonegg-3.4/Portfile	2013-07-21 21:36:51 UTC (rev 108374)
> +++ trunk/dports/lang/dragonegg-3.4/Portfile	2013-07-21 21:46:31 UTC (rev 108375)
> @@ -9,22 +9,22 @@
> name                    dragonegg-${llvm_version}
> 
> subport                 ${name}-gcc-4.5 {
> -    revision            2
> +    revision            3
>     set gcc_version     4.5
>     set gcc_version_no_dot 45
> }
> subport                 ${name}-gcc-4.6 {
> -    revision            2
> +    revision            3
>     set gcc_version     4.6
>     set gcc_version_no_dot 46
> }
> subport                 ${name}-gcc-4.7 {
> -    revision            2
> +    revision            3
>     set gcc_version     4.7
>     set gcc_version_no_dot 47
> }
> subport                 ${name}-gcc-4.8 {
> -    revision            2
> +    revision            3
>     set gcc_version     4.8
>     set gcc_version_no_dot 48
> }
> @@ -100,7 +100,7 @@
> use_configure no
> 
> select.group    gcc
> -select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc-${gcc_version}
> +select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
> 
> build.target


I get an activation error when upgrading dragonegg-3.0. I presume the same would happen for dragonegg-3.1 and dragonegg-3.2.

    --->  Activating dragonegg-3.0-gcc-4.6 @3.0_1
    Error: org.macports.activate for port dragonegg-3.0-gcc-4.6 returned:
    Image error: /opt/local/etc/select/gcc/dragonegg-3.0-gcc46 is being used
    by the active dragonegg-3.0 port.  Please deactivate this port first, or
    use 'port -f activate dragonegg-3.0-gcc-4.6' to force the activation.

Looks like you need to use the deactivate hack.

vq


More information about the macports-dev mailing list