Changeset 73773


Ignore:
Timestamp:
Nov 25, 2010, 3:47:09 AM (9 years ago)
Author:
landonf@…
Message:

Add configuration for PPC; this is untested/unsupported, but it may be possible to build a zero-based PPC port using a variation on these settings. I don't have a PPC machine, so I can't pursue this.
This also fixes the PPC portindex issue referenced in the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/openjdk6/Portfile

    r73772 r73773  
    227227} elseif {${build_arch} == "ppc"} {
    228228    # Currently unsupported
    229 }
    230 
    231 pre-build {
    232     build.args \
    233         ARCH_DATA_MODEL="${openjdk_datamodel}" \
    234         ALT_BOOTDIR="${bootstrapvm}" \
    235         ALT_JDK_IMPORT_PATH="${bootstrapvm}" \
    236         ALT_BINARY_PLUGS_PATH="${prefix}/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" \
    237         ALT_DROPS_DIR="${distpath}" \
    238         ANT_HOME="${prefix}/share/java/apache-ant" \
    239         ALT_FREETYPE_HEADERS_PATH="${prefix}/include" \
    240         ALT_FREETYPE_LIB_PATH="${prefix}/lib" \
    241         ALT_CUPS_HEADERS_PATH="/usr/include" \
    242         ALT_MOTIF_DIR="${prefix}" \
    243         ALT_X11_PATH="${prefix}" \
    244         ALT_DEVTOOLS_PATH=/usr \
    245         ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts \
    246         NO_DOCS=true \
    247         LANG="C" \
    248         BUILD_NUMBER="${version}" \
    249         MILESTONE=fcs \
    250         HOTSPOT_BUILD_JOBS="${build.jobs}"
    251 }
     229    build.env-append "UNAME_MACHINE=ppc"
     230    set openjdk_datamodel "32"
     231    set openjdk_build_arch "ppc"
     232} else {
     233    # Unknown architecture
     234    set openjdk_datamodel "32"
     235    set openjdk_build_arch "unsupported"
     236}
     237
     238build.args \
     239    ARCH_DATA_MODEL="${openjdk_datamodel}" \
     240    ALT_BOOTDIR="${bootstrapvm}" \
     241    ALT_JDK_IMPORT_PATH="${bootstrapvm}" \
     242    ALT_BINARY_PLUGS_PATH="${prefix}/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" \
     243    ALT_DROPS_DIR="${distpath}" \
     244    ANT_HOME="${prefix}/share/java/apache-ant" \
     245    ALT_FREETYPE_HEADERS_PATH="${prefix}/include" \
     246    ALT_FREETYPE_LIB_PATH="${prefix}/lib" \
     247    ALT_CUPS_HEADERS_PATH="/usr/include" \
     248    ALT_MOTIF_DIR="${prefix}" \
     249    ALT_X11_PATH="${prefix}" \
     250    ALT_DEVTOOLS_PATH=/usr \
     251    ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts \
     252    NO_DOCS=true \
     253    LANG="C" \
     254    BUILD_NUMBER="${version}" \
     255    MILESTONE=fcs \
     256    HOTSPOT_BUILD_JOBS="${build.jobs}"
    252257
    253258variant fastdebug {
Note: See TracChangeset for help on using the changeset viewer.