From 7da4fda13a2d3047e1bcfa86bffeadbc5856dbfe Mon Sep 17 00:00:00 2001 From: glewis Date: Thu, 15 Jan 2004 20:26:36 +0000 Subject: . Use the correct variables for appending to CPPFLAGS and LDFLAGS. This also avoids grabbing the jni.h header from gcj, which really causes problems. --- java/jdk12/files/patch-jdbc::GNUmakefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 java/jdk12/files/patch-jdbc::GNUmakefile (limited to 'java') 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 -- cgit