[73766] trunk/dports/java/openjdk6

Daniel J. Luke dluke at geeklair.net
Wed Nov 24 16:01:07 PST 2010


On Nov 24, 2010, at 3:36 PM, landonf at macports.org wrote:
> 
> +supported_archs i386 x86_64
> +if {${build_arch} == "i386"} {
> +    build.env-append "UNAME_MACHINE=i386"
> +    set openjdk_datamodel "32"
> +    set openjdk_build_arch "i586"
> +
> +} elseif {${build_arch} == "x86_64"} {
> +    build.env-append "UNAME_MACHINE=amd64"
> +    set openjdk_datamodel "64"
> +    set openjdk_build_arch "amd64"
> +
> +} elseif {${build_arch} == "ppc"} {
> +    # Currently unsupported
> +}
> +
> 
>  build.args \
> +    ARCH_DATA_MODEL="${openjdk_datamodel}" \

This causes portindex to fail when run on a ppc mac:

Failed to parse file java/openjdk6/Portfile: can't read "openjdk_datamodel": no such variable

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+






More information about the macports-dev mailing list