aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-jdbc/files
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-12-04 12:00:49 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-12-04 12:00:49 +0000
commit8a928af72d1ebb839a332158c27129b8a154275e (patch)
treec658c0da17e05366791dbe372c9e966663a70265 /databases/postgresql-jdbc/files
parent75d6fb12df9343cebb166dc9ac575ae77c24dd4d (diff)
downloadports-8a928af72d1ebb839a332158c27129b8a154275e.tar.gz
ports-8a928af72d1ebb839a332158c27129b8a154275e.zip
Notes
Diffstat (limited to 'databases/postgresql-jdbc/files')
-rw-r--r--databases/postgresql-jdbc/files/patch-aa19
1 files changed, 11 insertions, 8 deletions
diff --git a/databases/postgresql-jdbc/files/patch-aa b/databases/postgresql-jdbc/files/patch-aa
index 44a6e7960a2c..5c186c265977 100644
--- a/databases/postgresql-jdbc/files/patch-aa
+++ b/databases/postgresql-jdbc/files/patch-aa
@@ -1,11 +1,14 @@
---- src/interfaces/jdbc/build.xml.orig Fri Mar 28 09:55:21 2003
-+++ src/interfaces/jdbc/build.xml Fri Mar 28 09:57:29 2003
-@@ -101,7 +101,7 @@
+--- src/interfaces/jdbc/build.xml.orig Mon Aug 25 00:10:09 2003
++++ src/interfaces/jdbc/build.xml Tue Nov 18 03:37:21 2003
+@@ -110,10 +110,7 @@
- <!-- This is the core of the driver. It is common for all three versions. -->
<target name="compile" depends="prepare,check_versions,driver">
-- <javac srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
-+ <javac includeAntRuntime="no" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
- <include name="${package}/**" />
- <exclude name="${package}/jdbc1/**" unless="jdbc1"/>
+- <available classname="org.postgresql.Driver" property="old.driver.present" />
+- <fail message="Old driver was detected on classpath or in jre/lib/ext, please remove and try again." if="old.driver.present" />
+-
+- <javac classpath="{$srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
++ <javac includeAntRuntime="no" classpath="{$srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
+ <!-- This is the core of the driver. It is common for all three versions. -->
+ <include name="${package}/*.java" />
+ <include name="${package}/core/**" />