freebsd-ports/java/jdk12/files/patch-jdbc::GNUmakefile
Greg Lewis 7571311008 . Use the correct variables for appending to CPPFLAGS and LDFLAGS. This
also avoids grabbing the jni.h header from gcj, which really causes
  problems.
2004-01-15 20:26:36 +00:00

15 lines
458 B
Text

$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