[73772] trunk/dports/java/openjdk6/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 24 18:51:15 PST 2010


Revision: 73772
          http://trac.macports.org/changeset/73772
Author:   ryandesign at macports.org
Date:     2010-11-24 18:51:11 -0800 (Wed, 24 Nov 2010)
Log Message:
-----------
openjdk6: fix "Failed to parse file java/openjdk6/Portfile: can't read "openjdk_datamodel": no such variable" on PowerPC systems; see http://lists.macosforge.org/pipermail/macports-dev/2010-November/013353.html

Modified Paths:
--------------
    trunk/dports/java/openjdk6/Portfile

Modified: trunk/dports/java/openjdk6/Portfile
===================================================================
--- trunk/dports/java/openjdk6/Portfile	2010-11-25 01:22:44 UTC (rev 73771)
+++ trunk/dports/java/openjdk6/Portfile	2010-11-25 02:51:11 UTC (rev 73772)
@@ -228,25 +228,27 @@
     # Currently unsupported
 }
 
-build.args \
-    ARCH_DATA_MODEL="${openjdk_datamodel}" \
-    ALT_BOOTDIR="${bootstrapvm}" \
-    ALT_JDK_IMPORT_PATH="${bootstrapvm}" \
-    ALT_BINARY_PLUGS_PATH="${prefix}/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" \
-    ALT_DROPS_DIR="${distpath}" \
-    ANT_HOME="${prefix}/share/java/apache-ant" \
-    ALT_FREETYPE_HEADERS_PATH="${prefix}/include" \
-    ALT_FREETYPE_LIB_PATH="${prefix}/lib" \
-    ALT_CUPS_HEADERS_PATH="/usr/include" \
-    ALT_MOTIF_DIR="${prefix}" \
-    ALT_X11_PATH="${prefix}" \
-    ALT_DEVTOOLS_PATH=/usr \
-    ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts \
-    NO_DOCS=true \
-    LANG="C" \
-    BUILD_NUMBER="${version}" \
-    MILESTONE=fcs \
-    HOTSPOT_BUILD_JOBS="${build.jobs}"
+pre-build {
+    build.args \
+        ARCH_DATA_MODEL="${openjdk_datamodel}" \
+        ALT_BOOTDIR="${bootstrapvm}" \
+        ALT_JDK_IMPORT_PATH="${bootstrapvm}" \
+        ALT_BINARY_PLUGS_PATH="${prefix}/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" \
+        ALT_DROPS_DIR="${distpath}" \
+        ANT_HOME="${prefix}/share/java/apache-ant" \
+        ALT_FREETYPE_HEADERS_PATH="${prefix}/include" \
+        ALT_FREETYPE_LIB_PATH="${prefix}/lib" \
+        ALT_CUPS_HEADERS_PATH="/usr/include" \
+        ALT_MOTIF_DIR="${prefix}" \
+        ALT_X11_PATH="${prefix}" \
+        ALT_DEVTOOLS_PATH=/usr \
+        ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts \
+        NO_DOCS=true \
+        LANG="C" \
+        BUILD_NUMBER="${version}" \
+        MILESTONE=fcs \
+        HOTSPOT_BUILD_JOBS="${build.jobs}"
+}
 
 variant fastdebug {
     build.post_args FASTDEBUG=true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101124/2c6704d9/attachment-0001.html>


More information about the macports-changes mailing list