[73766] trunk/dports/java/openjdk6

Ryan Schmidt ryandesign at macports.org
Wed Nov 24 18:51:30 PST 2010


On Nov 24, 2010, at 18:01, Daniel J. Luke wrote:

> 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

Should be fixed in r73772.




More information about the macports-dev mailing list