]> git.pld-linux.org Git - packages/antlr.git/commitdiff
- Making antlr run-script usable
authoradgor <adgor@pld-linux.org>
Thu, 9 Oct 2003 15:57:21 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Merged reduced classpath.patch

Changed files:
    antlr-scripts.patch -> 1.1

antlr-scripts.patch [new file with mode: 0644]

diff --git a/antlr-scripts.patch b/antlr-scripts.patch
new file mode 100644 (file)
index 0000000..7de86c6
--- /dev/null
@@ -0,0 +1,27 @@
+--- 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 17:42:27.000000000 +0200
+@@ -24,7 +24,7 @@
+ versioneddir    = $(PACKAGE_NAME)-$(PACKAGE_VERSION)
+ # Programs we might use and their options...
+-ANTLR    = $(JAVA) -cp $(TOPDIR)/antlrall.jar antlr.Tool
++ANTLR    = $(JAVA) -cp $(TOPDIR)/antlr.jar antlr.Tool
+ # antlr is used to build antlr
+ ANTLR_BOOTSTRAP = $(JAVA) -cp @BOOTSTRAP_JAR@ antlr.Tool
+--- antlr-2.7.2/scripts/run-antlr.in~  2003-01-20 01:37:31.000000000 +0100
++++ antlr-2.7.2/scripts/run-antlr.in   2003-10-09 17:30:12.000000000 +0200
+@@ -1,9 +1,7 @@
+ #!/bin/sh
+-prefix=@prefix@
++
+ ANTLR_JAR=@datadir@/@PACKAGE_NAME@-@PACKAGE_VERSION@/antlrall.jar
+-if test "x$CLASSPATH" = x; then
+-      CLASSPATH=$ANTLR_JAR
+-else
+-      CLASSPATH=$ANTLR_JAR:$CLASSPATH
+-fi
++
++export CLASSPATH=$CLASSPATH:$ANTLR_JAR
++
+ @JAVA@ antlr.Tool $*
This page took 0.096008 seconds and 4 git commands to generate.