This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgcj/7633: $(prefix)/share used rather than $(datadir)


>Number:         7633
>Category:       libgcj
>Synopsis:       $(prefix)/share used rather than $(datadir)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 19 05:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     china@thewrittenword.com
>Release:        gcc-3.2
>Organization:
>Environment:

>Description:
Any reason gcc/java/Make-lang.in has LIBGCJ_ZIP_FILE in
'$(prefix)/share' rather than '$(datadir)'? It's not always the case that '$(prefix)/share' = '$(datadir)'.

gcc/java/Make-lang.in:
# jcf-path.o needs a -D.
  java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) java/jcf.h
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
        -DLIBGCJ_ZIP_FILE='"$(prefix)/share/java/libgcj-$(version).jar"' \ 
          -DDEFAULT_TARGET_VERSION=\"$(version)\" \
          $(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)
   
libjava/Makefile.in:
  jardir = $(datadir)/java
  jar_DATA = libgcj-@gcc_version@.jar
>How-To-Repeat:

>Fix:
Replace $(prefix)/share in gcc/java/Make-lang.in with $(datadir).
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]