Ignore:
Timestamp:
Aug 6, 2012, 7:52:55 PM (8 years ago)
Author:
jberry@…
Message:

Use the new java portgroup to set the java JAVA_HOME, as the symlink at /System/Library/Frameworks/JavaVM.framework/Home no longer exists on Mountain Lion. We discover JAVA_HOME via /usr/libexec/java_home if it exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/commons-digester/Portfile

    r85404 r96266  
    22
    33PortSystem 1.0
     4PortGroup java 1.0
    45
    56name                            commons-digester
     
    3839                                        -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \
    3940                                        -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar
    40                                        
     41               
    4142post-build {
    4243        # Secondary ant build to build the digester rss jar
     44        array set env [list JAVA_HOME [find_java_home]]
    4345        system "cd ${worksrcpath}/src/examples/rss && ant ${build.args} \
    4446                -Ddigester.home=${worksrcpath} dist"
Note: See TracChangeset for help on using the changeset viewer.