Changeset 82946


Ignore:
Timestamp:
Aug 22, 2011, 2:11:48 PM (8 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.