ports/150934: [PATCH] databases/postgresql-jdbc: fix build with java/openjdk7
Jimmy Olgeni
olgeni at FreeBSD.org
Sat Sep 25 14:00:14 UTC 2010
>Number: 150934
>Category: ports
>Synopsis: [PATCH] databases/postgresql-jdbc: fix build with java/openjdk7
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 25 14:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Jimmy Olgeni
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD backoffice 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 14:01:04 CEST 2010
>Description:
The postgresql-jdbc-8.3.603 port does not build with java/openjdk7
due to a missing condition in build.xml (it only covers java specification
version values up to 1.6).
The attached patch backports a fix from the most recent postgresql-jdbc.
Port maintainer (girgen at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- postgresql-jdbc-8.3.603_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/postgresql-jdbc/files/patch-build-xml /.amd_mnt/server/host/usr/home/olgeni/postgresql-jdbc/files/patch-build-xml
--- /usr/ports/databases/postgresql-jdbc/files/patch-build-xml 2008-02-26 23:45:56.000000000 +0100
+++ /.amd_mnt/server/host/usr/home/olgeni/postgresql-jdbc/files/patch-build-xml 2010-09-25 15:49:22.794590000 +0200
@@ -1,6 +1,20 @@
---- build.xml.orig 2007-10-15 09:49:36.000000000 +0200
-+++ build.xml 2008-01-22 13:52:37.000000000 +0100
-@@ -109,10 +109,7 @@
+
+$FreeBSD$
+
+--- build.xml.orig
++++ build.xml
+@@ -45,7 +45,10 @@
+ <equals arg1="${java.specification.version}" arg2="1.5"/>
+ </condition>
+ <condition property="jdbc4">
++ <or>
+ <equals arg1="${java.specification.version}" arg2="1.6"/>
++ <equals arg1="${java.specification.version}" arg2="1.7"/>
++ </or>
+ </condition>
+ <condition property="jdbc3any">
+ <or>
+@@ -118,10 +121,7 @@
<target name="compile" depends="prepare,check_versions,driver">
--- postgresql-jdbc-8.3.603_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list