New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82946


Ignore:
Timestamp:
08/22/11 07:11:48 (4 years ago)
Author:
ryandesign@…
Message:

mysql-connector-java: also apply JDK 1.6 patch on Lion; see #30929

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/mysql-connector-java/Portfile

    r72252 r82946  
    5858} 
    5959 
    60 platform darwin 10 { 
    61         post-patch { 
    62                 reinplace -E {/name="compile"/s/compile-testsuite, //} \ 
    63                         ${worksrcpath}/build.xml 
    64         } 
    65  
    66         patchfiles-append patch-JDK-1.6.diff 
     60platform darwin { 
     61    if {${os.major} >= 10} { 
     62        patchfiles-append patch-JDK-1.6.diff 
     63        post-patch { 
     64            reinplace -E {/name="compile"/s/compile-testsuite, //} \ 
     65                ${worksrcpath}/build.xml 
     66        } 
     67    } 
    6768} 
    6869 
Note: See TracChangeset for help on using the changeset viewer.