aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql92-server/files/patch-contrib-retep-build
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql92-server/files/patch-contrib-retep-build')
-rw-r--r--databases/postgresql92-server/files/patch-contrib-retep-build41
1 files changed, 34 insertions, 7 deletions
diff --git a/databases/postgresql92-server/files/patch-contrib-retep-build b/databases/postgresql92-server/files/patch-contrib-retep-build
index 30df3a0e72c9..80f40f1cc86d 100644
--- a/databases/postgresql92-server/files/patch-contrib-retep-build
+++ b/databases/postgresql92-server/files/patch-contrib-retep-build
@@ -1,10 +1,37 @@
---- contrib/retep/build.xml~ Fri Mar 16 22:50:36 2001
-+++ contrib/retep/build.xml Wed Apr 18 09:24:20 2001
-@@ -38,6 +38,7 @@
- <target name="compile" depends="checks,prepare">
+===================================================================
+RCS file: /home/projects/pgsql/cvsroot/pgsql/contrib/retep/build.xml,v
+retrieving revision 1.4
+retrieving revision 1.5
+diff -u -r1.4 -r1.5
+--- contrib/retep/build.xml 2001/03/11 11:06:59 1.4
++++ contrib/retep/build.xml 2001/05/16 16:20:51 1.5
+@@ -2,7 +2,7 @@
+
+ build file to build the donated retep tools packages
+
+- $Id: build.xml,v 1.4 2001/03/11 11:06:59 petere Exp $
++ $Id: build.xml,v 1.5 2001/05/16 16:20:51 momjian Exp $
+
+ -->
+
+@@ -22,6 +22,11 @@
+ <available property="xml" classname="org.xml.sax.Parser" />
+ </target>
+
++ <target name="warning" depends="checks" unless="jdk1.2+">
++ <echo message="WARNING -- contributed retep tools need jdk1.2 or later -- compilation NOT done." />
++ </target>
++
++
+ <!-- Prepares the build by creating a directory to place the class files -->
+ <target name="prepare">
+ <mkdir dir="${dest}" />
+@@ -35,7 +40,7 @@
+ </target>
+
+ <!-- Builds the XML Tools -->
+- <target name="compile" depends="checks,prepare">
++ <target name="compile" depends="checks,prepare,warning" if="jdk1.2+">
<javac srcdir="${src}" destdir="${dest}">
<include name="${package}/**" />
-+ <exclude name="${package}/**" unless="jdk1.2+" />
</javac>
- </target>
-