diff options
author | mi <mi@FreeBSD.org> | 2006-10-08 15:17:11 +0000 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2006-10-08 15:17:11 +0000 |
commit | 5c80d5192338045745fbad40eb2ee490c2b2b9e3 (patch) | |
tree | 8d748d21219d3787cd4563eba7058ae66984d65e | |
parent | 4d9f0a73e264d3cf8e6f053932f69a45eed1f5b1 (diff) | |
download | FreeBSD-ports-5c80d5192338045745fbad40eb2ee490c2b2b9e3.zip FreeBSD-ports-5c80d5192338045745fbad40eb2ee490c2b2b9e3.tar.gz |
Tune the port a little finer:
. Java-1.5 is required to build (although the result is usable
with 1.4 as well) -- reflect this in pkg-descr for the user
and in Makefile for the build process
. add a patch for the "occasionaly" failing test -- on advice
from Oracle:
http://forums.oracle.com/forums/thread.jspa?threadID=431242
. enable automatic testing post-build -- the tests stress out
both Java and JE and their failure may be a nice canary for
our mine.
-rw-r--r-- | java/berkeley-db/Makefile | 2 | ||||
-rw-r--r-- | java/berkeley-db/files/patch-test-failure | 13 | ||||
-rw-r--r-- | java/berkeley-db/pkg-descr | 5 |
3 files changed, 18 insertions, 2 deletions
diff --git a/java/berkeley-db/Makefile b/java/berkeley-db/Makefile index 5ab6903..e71a18e 100644 --- a/java/berkeley-db/Makefile +++ b/java/berkeley-db/Makefile @@ -18,7 +18,7 @@ OPTIONS= TEST "Run the self-tests after building automatically" on BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit USE_JAVA= yes -JAVA_VERSION= 1.4+ +JAVA_VERSION= 1.5+ USE_ANT= yes MAKE_ENV+= JAVALIBDIR="${JAVALIBDIR}" MAKE_ARGS+= -cp ${JAVALIBDIR}/junit.jar diff --git a/java/berkeley-db/files/patch-test-failure b/java/berkeley-db/files/patch-test-failure new file mode 100644 index 0000000..29913a6 --- /dev/null +++ b/java/berkeley-db/files/patch-test-failure @@ -0,0 +1,13 @@ +This is a temporary work-around for a spurious test failure. See the discussion at + + http://forums.oracle.com/forums/thread.jspa?threadID=431242 + +--- test/com/sleepycat/je/recovery/CheckpointActivationTest.java Tue Sep 12 15:17:22 2006 ++++ test/com/sleepycat/je/recovery/CheckpointActivationTest.java Fri Oct 6 23:42:55 2006 +@@ -51,5 +51,5 @@ + * checkpoints ran. + */ +- public void testLogSizeBasedCheckpoints() ++ public void meowLogSizeBasedCheckpoints() + throws Exception { + diff --git a/java/berkeley-db/pkg-descr b/java/berkeley-db/pkg-descr index 3b67b51..ae8b50f 100644 --- a/java/berkeley-db/pkg-descr +++ b/java/berkeley-db/pkg-descr @@ -1,6 +1,9 @@ -This is a pure-Java implementation of Berkeley DB. From the +This is a pure-Java implementation of Berkeley DB by SleepyCat (now +Oracle). Java-1.5 is required for building, although the result should +be usable with 1.4 too. From the WWW: http://www.sleepycat.com/products/je.shtml +WWW: http://www.oracle.com/technology/products/berkeley-db/je/ "Berkeley DB JE was designed from the ground up in Java. It takes full advantage of the Java environment. The Berkeley DB JE API provides a |