diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-01-15 20:26:36 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-01-15 20:26:36 +0000 |
commit | 7571311008fd7fb9701e1e0d0e3ce070548b322e (patch) | |
tree | 70e0a1c2bd5a876e4815aad928907d87792e58e7 /java | |
parent | 52bfb0413ca80d9a9b450e967a1e2a400ed3ab43 (diff) | |
download | ports-7571311008fd7fb9701e1e0d0e3ce070548b322e.tar.gz ports-7571311008fd7fb9701e1e0d0e3ce070548b322e.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.
Notes
Notes:
svn path=/head/; revision=98222
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk12/files/patch-jdbc::GNUmakefile | 15 |
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 |