diff options
author | stefan <stefan@FreeBSD.org> | 2006-05-21 21:27:53 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2006-05-21 21:27:53 +0800 |
commit | 835cd3814bc4ac55bb09be5cef8e0709cbd78e19 (patch) | |
tree | dc5e1158a8bc84b2974a6c663711e745c824eafb /java/jakarta-commons-pool | |
parent | d2e297caca25d768fc6f66a94b841fe32c6d354e (diff) | |
download | freebsd-ports-graphics-835cd3814bc4ac55bb09be5cef8e0709cbd78e19.tar.gz freebsd-ports-graphics-835cd3814bc4ac55bb09be5cef8e0709cbd78e19.tar.zst freebsd-ports-graphics-835cd3814bc4ac55bb09be5cef8e0709cbd78e19.zip |
Solve JDK 1.5 incompatibility.
PR: 96922
Submitted by: Anton Yudin <toha@toha.org.ua> (maintainer)
Approved by: arved (mentor)
Diffstat (limited to 'java/jakarta-commons-pool')
-rw-r--r-- | java/jakarta-commons-pool/Makefile | 3 | ||||
-rw-r--r-- | java/jakarta-commons-pool/files/patch-build.xml | 32 |
2 files changed, 33 insertions, 2 deletions
diff --git a/java/jakarta-commons-pool/Makefile b/java/jakarta-commons-pool/Makefile index 07868b444bf..d7c14c04b9d 100644 --- a/java/jakarta-commons-pool/Makefile +++ b/java/jakarta-commons-pool/Makefile @@ -7,6 +7,7 @@ PORTNAME= commons-pool PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/source @@ -21,8 +22,6 @@ RUN_DEPENDS= ${JAR_DEPENDS} JAR_DEPENDS= ${JAVALIBDIR}/commons-collections.jar:${PORTSDIR}/java/jakarta-commons-collections -BROKEN= Does not compile - USE_JAVA= yes JAVA_VERSION= 1.2+ diff --git a/java/jakarta-commons-pool/files/patch-build.xml b/java/jakarta-commons-pool/files/patch-build.xml new file mode 100644 index 00000000000..b9537e85e19 --- /dev/null +++ b/java/jakarta-commons-pool/files/patch-build.xml @@ -0,0 +1,32 @@ +--- build.xml.orig Tue May 16 16:41:33 2006 ++++ build.xml Tue May 16 16:42:52 2006 +@@ -93,7 +93,8 @@ + noindex="false"
+ nohelp="true"
+ nonavbar="false"
+- serialwarn="false">
++ serialwarn="false"
++ source="1.2">
+ <link href="http://java.sun.com/j2se/1.4.2/docs/api"/>
+ </javadoc>
+ </target>
+@@ -107,7 +108,8 @@ + classpath="${classpath}"
+ debug="${javac.debug}"
+ deprecation="${javac.deprecation}"
+- optimize="${javac.optimize}"/>
++ optimize="${javac.optimize}"
++ source="1.2"/>
+ </target>
+
+ <target name="compile-test" depends="compile">
+@@ -116,7 +118,8 @@ + srcdir="${src.test.dir}"
+ debug="${javac.debug}"
+ deprecation="${javac.deprecation}"
+- optimize="${javac.optimize}">
++ optimize="${javac.optimize}"
++ source="1.2">
+ <classpath>
+ <pathelement location="${build.classes.dir}" />
+ <pathelement location="${build.test-classes.dir}" />
|