Ignore:
Timestamp:
Oct 6, 2006, 3:56:24 PM (13 years ago)
Author:
jberry@…
Message:

Fix patch for dom4j

Location:
trunk/dports/java/dom4j
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/dom4j/Portfile

    r19406 r19954  
    55name                            dom4j
    66version                         1.6.1
     7revision                        1
    78
    89categories                      java
     
    3233build.args                      -Djunit.jar=${prefix}/share/java/junit.jar
    3334
     35pre-patch {
     36        # Convert build.xml to unix line feeds before we try to patch it
     37        system "cat ${worksrcpath}/build.xml | tr -d '\r' > ${worksrcpath}/build.xml.tmp && mv ${worksrcpath}/build.xml.tmp ${worksrcpath}/build.xml"
     38}
     39
    3440destroot {
    3541        xinstall -m 755 -d ${destroot}${prefix}/share/java \
  • trunk/dports/java/dom4j/files/patch-build.xml.diff

    r15134 r19954  
    1 --- build.xml   2005-05-16 06:28:41.000000000 -0700
    2 +++ build.xml.latest    2005-11-22 12:47:51.000000000 -0800
     1--- build.xml.orig      2006-10-06 08:53:02.000000000 -0700
     2+++ build.xml   2006-10-06 08:54:24.000000000 -0700
    33@@ -146,6 +146,8 @@
    44            source="1.3"
    55            deprecation="${deprecation}"
    66            classpathref="compile.classpath">
    7 +     <compilerarg compiler="javac1.5" value="-endorseddirs"/>
    8 +     <compilerarg compiler="javac1.5" value="./lib/endorsed"/>
     7+               <compilerarg compiler="javac1.5" value="-endorseddirs"/>
     8+               <compilerarg compiler="javac1.5" value="./lib/endorsed"/>
    99     </javac>
    1010   </target>
Note: See TracChangeset for help on using the changeset viewer.