From 1dbe00c1e74f7cfc2ed3fe7b01ae3f579baa115b Mon Sep 17 00:00:00 2001 From: adgor Date: Thu, 9 Oct 2003 12:50:25 +0000 Subject: [PATCH] - Do not override CLASSPATH by '-cp' option Changed files: antlr-classpath.patch -> 1.1 --- antlr-classpath.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 antlr-classpath.patch diff --git a/antlr-classpath.patch b/antlr-classpath.patch new file mode 100644 index 0000000..009fd1b --- /dev/null +++ b/antlr-classpath.patch @@ -0,0 +1,14 @@ +--- antlr-2.7.2/scripts/Config.make.in~ 2003-01-20 01:37:31.000000000 +0100 ++++ antlr-2.7.2/scripts/Config.make.in 2003-10-09 14:20:18.000000000 +0200 +@@ -24,9 +24,9 @@ + versioneddir = $(PACKAGE_NAME)-$(PACKAGE_VERSION) + + # Programs we might use and their options... +-ANTLR = $(JAVA) -cp $(TOPDIR)/antlrall.jar antlr.Tool ++ANTLR = $(JAVA) -cp $(CLASSPATH):$(TOPDIR)/antlrall.jar antlr.Tool + # antlr is used to build antlr +-ANTLR_BOOTSTRAP = $(JAVA) -cp @BOOTSTRAP_JAR@ antlr.Tool ++ANTLR_BOOTSTRAP = $(JAVA) -cp $(CLASSPATH):@BOOTSTRAP_JAR@ antlr.Tool + + CXX = @CXX@ + CXXFLAGS = @CXXFLAGS@ $(ARCHFLAGS) $(INCLUDE) $(DEBUG) $(EXTRA_CXXFLAGS) -- 2.44.0