Dash:
[t2-trunk.git] / package / java / gcjwebplugin / jar_at_libdir.patch
blob756afedd45548b355b467e98e97877ea5bb97056
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gcjwebplugin/jar_at_libdir.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ./Makefile.in.orig 2005-11-29 17:04:18.000000000 -0300
17 +++ ./Makefile.in 2005-11-29 17:11:10.000000000 -0300
18 @@ -335,7 +335,7 @@
19 @BUILD_NATIVE_VIEWER_TRUE@ src/gcjappletviewer.c
21 @BUILD_NATIVE_VIEWER_TRUE@gcjappletviewer_CFLAGS = \
22 -@BUILD_NATIVE_VIEWER_TRUE@ -DGCJAPPLETVIEWER_CLASSPATH="\"$(datadir)/java/gcjappletviewer.jar\"" \
23 +@BUILD_NATIVE_VIEWER_TRUE@ -DGCJAPPLETVIEWER_CLASSPATH="\"$(libdir)/gcjappletviewer.jar\"" \
24 @BUILD_NATIVE_VIEWER_TRUE@ -Wall $(GLIB_CFLAGS)
26 @BUILD_NATIVE_VIEWER_TRUE@gcjappletviewer_LDFLAGS = $(GLIB_LIBS) -lgcj
27 @@ -382,7 +382,7 @@
28 $(gcjwebplugin_built_java_source_files)
30 gcjappletviewer_jar_class_files = $(gcjappletviewer_jar_source_files:.java=.class)
31 -gcjappletviewer_jardir = $(datadir)/java
32 +gcjappletviewer_jardir = $(libdir)
33 gcjappletviewer_jar_DATA = gcjappletviewer.jar
34 MOSTLYCLEANFILES = \
35 testsuite.dir/at-check-line \
36 --- ./src/gcjappletviewer.in.orig 2005-11-29 17:31:39.000000000 -0300
37 +++ ./src/gcjappletviewer.in 2005-11-29 17:32:28.000000000 -0300
38 @@ -5,7 +5,7 @@
39 my $JAVA = '@JAVA@';
40 my $MAINCLASS = 'gnu.gcjwebplugin.AppletViewer';
41 my $PREFIX = '@prefix@';
42 -my $GCJAPPLETVIEWER_CLASSPATH = "$PREFIX/share/java/gcjappletviewer.jar";
43 +my $GCJAPPLETVIEWER_CLASSPATH = '@libdir@/gcjappletviewer.jar';
44 my $RUNTIME_ARGS = '';
45 my $VIEWER_ARGS = '';
46 my $COMMANDLINE;