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

china@thewrittenword.com china@thewrittenword.com
Mon Aug 19 05:36:00 GMT 2002


>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:



More information about the Gcc-bugs mailing list