From 0d7a9dbdd23c58761a85f22e18982242e2dc9621 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 13 Jan 2015 09:23:31 +0100 Subject: [PATCH] re PR libgcj/64219 (Rename libgcj-5.0.pc to libgcj-5.pc) PR libgcj/64219 * Makefile.am (install-data-local): Use just the major version from GCJVERSION instead of major.minor. * Makefile.in: Regenerated. From-SVN: r219519 --- libjava/ChangeLog | 7 +++++++ libjava/Makefile.am | 2 +- libjava/Makefile.in | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f77de2a4e3c..d616dcb57b8 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2015-01-13 Jakub Jelinek + + PR libgcj/64219 + * Makefile.am (install-data-local): Use just the major version + from GCJVERSION instead of major.minor. + * Makefile.in: Regenerated. + 2015-01-05 Jakub Jelinek * classpath/gnu/java/rmi/registry/RegistryImpl.java (version): Update diff --git a/libjava/Makefile.am b/libjava/Makefile.am index 39b5199ff4e..96a08157116 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -779,7 +779,7 @@ install_data_local_split = 50 install-data-local: $(PRE_INSTALL) ## Install the .pc file. - @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*$$//'`; \ + @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*[.][^.]*$$//'`; \ file="libgcj-$${pc_version}.pc"; \ $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir); \ echo " $(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file"; \ diff --git a/libjava/Makefile.in b/libjava/Makefile.in index f0f635036eb..6b214889896 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -12455,7 +12455,7 @@ install-exec-hook: install-binPROGRAMS install-toolexeclibLTLIBRARIES \ @BUILD_ECJ1_TRUE@ mv $(DESTDIR)$(libexecsubdir)/`echo ecjx | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(libexecsubdir)/ecj1$(host_exeext) install-data-local: $(PRE_INSTALL) - @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*$$//'`; \ + @pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*[.][^.]*$$//'`; \ file="libgcj-$${pc_version}.pc"; \ $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir); \ echo " $(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file"; \ -- 2.30.2