[61154] trunk/dports/java/jakarta-taglibs-standard-11
nox at macports.org
nox at macports.org
Thu Dec 3 00:46:14 PST 2009
Revision: 61154
http://trac.macports.org/changeset/61154
Author: nox at macports.org
Date: 2009-12-03 00:46:11 -0800 (Thu, 03 Dec 2009)
Log Message:
-----------
Add Snow Leopard support to jakarta-taglibs-standard-11 (#22736)
jakarta-taglibs-standard-11 requires JDK 1.5 and cannot compile with
JDK 1.6, complaining that some abstract methods are not defined
in concrete classes. patch-JDK-1.6.diff fixes that.
Modified Paths:
--------------
trunk/dports/java/jakarta-taglibs-standard-11/Portfile
Added Paths:
-----------
trunk/dports/java/jakarta-taglibs-standard-11/files/
trunk/dports/java/jakarta-taglibs-standard-11/files/patch-JDK-1.6.diff
Modified: trunk/dports/java/jakarta-taglibs-standard-11/Portfile
===================================================================
--- trunk/dports/java/jakarta-taglibs-standard-11/Portfile 2009-12-03 08:41:19 UTC (rev 61153)
+++ trunk/dports/java/jakarta-taglibs-standard-11/Portfile 2009-12-03 08:46:11 UTC (rev 61154)
@@ -14,7 +14,7 @@
long_description A version of the JSP Standard Tag Library (JSTL) adhering \
to the JSP JSTL 1.1 specification. Requires a JSP 2.0 \
compatible web container, such as Tomcat5.
-homepage http://jakarta.apache.org/taglibs/doc/standard-doc/
+homepage http://tomcat.apache.org/taglibs/standard/
distname jakarta-taglibs-standard-${version}-src
master_sites apache:jakarta/taglibs/standard/source/
@@ -61,7 +61,7 @@
destroot {
# Ensure needed directories
- xinstall -m 755 -d \
+ xinstall -d \
${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc \
${destroot}${prefix}/share/examples
@@ -83,3 +83,7 @@
${worksrcpath}/examples \
${destroot}${prefix}/share/examples/${name}
}
+
+platform darwin 10 {
+ patchfiles-append patch-JDK-1.6.diff
+}
Added: trunk/dports/java/jakarta-taglibs-standard-11/files/patch-JDK-1.6.diff
===================================================================
--- trunk/dports/java/jakarta-taglibs-standard-11/files/patch-JDK-1.6.diff (rev 0)
+++ trunk/dports/java/jakarta-taglibs-standard-11/files/patch-JDK-1.6.diff 2009-12-03 08:46:11 UTC (rev 61154)
@@ -0,0 +1,22 @@
+--- src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java.orig 2004-10-25 22:26:22.000000000 +0200
++++ src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java 2009-11-28 14:53:09.000000000 +0100
+@@ -111,5 +111,19 @@
+ throw new SQLException(Resources.getMessage("NOT_SUPPORTED"));
+ }
+
++ /**
++ * Always throws a SQLException. Not supported.
++ */
++ public boolean isWrapperFor(Class<?> iface) throws SQLException {
++ throw new SQLException(Resources.getMessage("NOT_SUPPORTED"));
++ }
++
++ /**
++ * Always throws a SQLException. Not supported.
++ */
++ public <T> T unwrap(Class<T> iface) throws SQLException {
++ throw new SQLException(Resources.getMessage("NOT_SUPPORTED"));
++ }
++
+
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091203/3f1b8cda/attachment.html>
More information about the macports-changes
mailing list