Changeset 14282


Ignore:
Timestamp:
Sep 27, 2005, 5:48:41 PM (12 years ago)
Author:
jberry
Message:

Bug: 3165 (commons-pool won't compile under JDK 1.5)
Submitted by: Luke <ldegruchy gmail.com>
Reviewed by: jberry
Approved by:
Obtained from:

Add source="1.4" to javac tasks to force JDK 1.5 to build this puppy. Thanks ak.lynch.

File:
1 edited

Legend:

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

    r11905 r14282  
    1 # $Id: Portfile,v 1.4 2005/04/19 18:15:06 jberry Exp $
     1# $Id: Portfile,v 1.5 2005/09/27 17:48:41 jberry Exp $
    22
    33PortSystem 1.0
     
    55name                            commons-pool
    66version                         1.2
     7revision                        1
    78
    89categories                      java
     
    2930worksrcdir                      ${name}-${version}
    3031
     32post-patch {
     33        reinplace {s|<javac |<javac source="1.4" |} ${worksrcpath}/build.xml
     34}
     35
    3136build.cmd                       ant
    3237build.target            dist
Note: See TracChangeset for help on using the changeset viewer.