aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-01-16 04:26:36 +0800
committerglewis <glewis@FreeBSD.org>2004-01-16 04:26:36 +0800
commit7da4fda13a2d3047e1bcfa86bffeadbc5856dbfe (patch)
treec650bf1ee5e6f15839dfa355d13efdb14fc8ffba /java
parentf9dd8d237cc6e5dcdf796522eeeaafba353cfa98 (diff)
downloadfreebsd-ports-gnome-7da4fda13a2d3047e1bcfa86bffeadbc5856dbfe.tar.gz
freebsd-ports-gnome-7da4fda13a2d3047e1bcfa86bffeadbc5856dbfe.tar.zst
freebsd-ports-gnome-7da4fda13a2d3047e1bcfa86bffeadbc5856dbfe.zip
. Use the correct variables for appending to CPPFLAGS and LDFLAGS. This
also avoids grabbing the jni.h header from gcj, which really causes problems.
Diffstat (limited to 'java')
-rw-r--r--java/jdk12/files/patch-jdbc::GNUmakefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/jdk12/files/patch-jdbc::GNUmakefile b/java/jdk12/files/patch-jdbc::GNUmakefile
new file mode 100644
index 000000000000..7a4f304d6d2b
--- /dev/null
+++ b/java/jdk12/files/patch-jdbc::GNUmakefile
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- sun/jdbc/GNUmakefile.orig Thu Jan 15 13:02:51 2004
++++ sun/jdbc/GNUmakefile Thu Jan 15 13:03:39 2004
+@@ -44,8 +44,8 @@
+ ODBCDIR = $(_ODBCDIR$(ALT_ODBCDIR))$(ALT_ODBCDIR)
+
+ ifeq ($(PLATFORM),bsd)
+-LDFLAGS += -L$(ODBCDIR)/lib -lodbcinst -lodbc
+-CFLAGS += -I$(ODBCDIR)/include
++OTHER_LDFLAGS += -L$(ODBCDIR)/lib -lodbcinst -lodbc
++OTHER_CPPFLAGS += -I$(ODBCDIR)/include
+ else
+ LDFLAGS += -L$(ODBCDIR)/ISLIodbc/2.11/lib -lodbcinst -lodbc
+ endif