You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
2.0 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gcjwebplugin/jar_at_libdir.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./Makefile.in.orig 2005-11-29 17:04:18.000000000 -0300
+++ ./Makefile.in 2005-11-29 17:11:10.000000000 -0300
@@ -335,7 +335,7 @@
@BUILD_NATIVE_VIEWER_TRUE@ src/gcjappletviewer.c
@BUILD_NATIVE_VIEWER_TRUE@gcjappletviewer_CFLAGS = \
-@BUILD_NATIVE_VIEWER_TRUE@ -DGCJAPPLETVIEWER_CLASSPATH="\"$(datadir)/java/gcjappletviewer.jar\"" \
+@BUILD_NATIVE_VIEWER_TRUE@ -DGCJAPPLETVIEWER_CLASSPATH="\"$(libdir)/gcjappletviewer.jar\"" \
@BUILD_NATIVE_VIEWER_TRUE@ -Wall $(GLIB_CFLAGS)
@BUILD_NATIVE_VIEWER_TRUE@gcjappletviewer_LDFLAGS = $(GLIB_LIBS) -lgcj
@@ -382,7 +382,7 @@
$(gcjwebplugin_built_java_source_files)
gcjappletviewer_jar_class_files = $(gcjappletviewer_jar_source_files:.java=.class)
-gcjappletviewer_jardir = $(datadir)/java
+gcjappletviewer_jardir = $(libdir)
gcjappletviewer_jar_DATA = gcjappletviewer.jar
MOSTLYCLEANFILES = \
testsuite.dir/at-check-line \
--- ./src/gcjappletviewer.in.orig 2005-11-29 17:31:39.000000000 -0300
+++ ./src/gcjappletviewer.in 2005-11-29 17:32:28.000000000 -0300
@@ -5,7 +5,7 @@
my $JAVA = '@JAVA@';
my $MAINCLASS = 'gnu.gcjwebplugin.AppletViewer';
my $PREFIX = '@prefix@';
-my $GCJAPPLETVIEWER_CLASSPATH = "$PREFIX/share/java/gcjappletviewer.jar";
+my $GCJAPPLETVIEWER_CLASSPATH = '@libdir@/gcjappletviewer.jar';
my $RUNTIME_ARGS = '';
my $VIEWER_ARGS = '';
my $COMMANDLINE;