pkgsrc/databases/jdbc-postgresql/patches/patch-aa
jlam 44acf34f84 Updated databases/jdbc-postgresql to 7.3.1. Changes from version 7.2.3
include:

   Allow JDBC to compile with JDK 1.4
   Add JDBC 3 support
   Allows JDBC to set loglevel by adding ?loglevel=X to the connection URL
   Add Driver.info
   Add updateable result sets
   Add support for callable statements
   Add query cancel capability
   Add refresh row
   Fix MD5 encryption handling for multibyte servers
   Add support for prepared statements

Approved by jwise@netbsd.org.
2003-01-02 18:46:39 +00:00

43 lines
1.5 KiB
Text

$NetBSD: patch-aa,v 1.5 2003/01/02 18:46:42 jlam Exp $
--- build.xml.orig Sat Oct 19 20:10:55 2002
+++ build.xml
@@ -48,21 +48,21 @@
<available property="junit" classname="junit.framework.Test" />
<condition property="jdbc2tests">
<and>
- <isset property="jdbc2"/>
- <isset property="junit"/>
+ <equals arg1="${jdbc2}" arg2="true"/>
+ <equals arg1="${junit}" arg2="true"/>
</and>
</condition>
<condition property="jdbc2optionaltests">
<and>
- <isset property="jdbc2"/>
- <isset property="datasource"/>
- <isset property="junit"/>
+ <equals arg1="${jdbc2}" arg2="true"/>
+ <equals arg1="${datasource}" arg2="true"/>
+ <equals arg1="${junit}" arg2="true"/>
</and>
</condition>
<condition property="jdbc3tests">
<and>
- <isset property="jdbc3"/>
- <isset property="junit"/>
+ <equals arg1="${jdbc3}" arg2="true"/>
+ <equals arg1="${junit}" arg2="true"/>
</and>
</condition>
</target>
@@ -156,9 +156,6 @@
<filter token="JDBCCONNECTCLASS" value="${connectclass}" />
<filter token="DEF_PGPORT" value="${def_pgport}" />
- <fail unless="major" message="'major' undefined. Please follow the directions in README."/>
- <fail unless="minor" message="'minor' undefined. Please follow the directions in README."/>
-
<!-- Put a check for the current version here -->
<!-- now copy and filter the file -->