ports/152733: [patch] java/jakarta-regexp Fix build with ant 1.8.1

Rob Farmer rfarmer at predatorlabs.net
Wed Dec 1 05:30:21 UTC 2010


>Number:         152733
>Category:       ports
>Synopsis:       [patch] java/jakarta-regexp Fix build with ant 1.8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 01 05:30:18 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD vmware.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r216082: Tue Nov 30 11:31:31 PST 2010     rfarmer at vmware.predatorlabs.net:/usr/obj/usr/src/sys/VMWARE  i386
>Description:
Fix build with new ant by disabling a piece of documentation.

Not the best solution but the port has no maintainer and no non-trivial commits for 3.5 years, and it at least gets the main software working.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/jakarta-regexp/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	8 Dec 2008 06:43:47 -0000	1.18
+++ Makefile	1 Dec 2010 05:13:06 -0000
@@ -6,7 +6,7 @@
 
 PORTNAME=	jakarta-regexp
 PORTVERSION=	1.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	java devel
 MASTER_SITES=	${MASTER_SITE_APACHE_JAKARTA}
 MASTER_SITE_SUBDIR=	regexp/binaries
Index: files/patch-build.xml
===================================================================
RCS file: files/patch-build.xml
diff -N files/patch-build.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-build.xml	1 Dec 2010 05:12:03 -0000
@@ -0,0 +1,37 @@
+--- build.xml.orig	2010-10-27 07:29:35.000000000 -0700
++++ build.xml	2010-10-27 07:30:39.000000000 -0700
+@@ -130,7 +130,7 @@
+     <!-- =================================================================== -->
+     <!-- Package                                                             -->
+     <!-- =================================================================== -->
+-    <target name="package" depends="jar, docs, javadocs">
++    <target name="package" depends="jar, javadocs">
+         <mkdir dir="${final.dir}"/>
+ 
+         <copy todir="${final.dir}/src/java">
+@@ -209,25 +209,4 @@
+         <delete dir="${build.dir}"/>
+     </target>
+ 
+-    <!-- ================================================================== -->
+-    <!-- XSLT   Documentation Builder                                       -->
+-    <!-- ================================================================== -->
+-    <target name="docs" depends="jar">
+-        <xslt   basedir="${docs.src}"
+-                destdir="${docs.dest}"
+-                style="${jakarta-site.dir}/xdocs/stylesheets/site.xsl"
+-                includes="**/*.xml"
+-                excludes="**/stylesheets/** empty.xml">
+-          <param name="sitenav-path" expression="${basedir}/xdocs/stylesheets/site.xml"/>
+-        </xslt>
+-
+-        <copy todir="${docs.dest}" filtering="no">
+-            <fileset dir="${docs.src}">
+-                <include name="RETest.txt"/>
+-            </fileset>
+-        </copy>
+-
+-        <copy tofile="${docs.dest}/jakarta-regexp.jar"
+-              file="${build.dir}/${final.name}.jar"/>
+-    </target>
+ </project>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list