File gcc-4.8.5-gdc-lib-install.patch of Package gcc48

diff -Ndur gcc-4.8.5-gdc/libphobos/configure gcc-4.8.5-gdc-lib-install/libphobos/configure
--- gcc-4.8.5-gdc/libphobos/configure	2015-02-26 00:23:38.000000000 +0200
+++ gcc-4.8.5-gdc-lib-install/libphobos/configure	2015-07-18 18:02:53.542372910 +0300
@@ -3862,7 +3862,7 @@
 # Version-specific runtime libs processing.
 if test $version_specific_libs = yes; then
     phobos_toolexecdir='${libdir}/gcc/${host_alias}'
-    phobos_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
+    phobos_toolexeclibdir='${toolexecdir}/'${d_gcc_ver}'$(MULTISUBDIR)'
 else
     # Calculate phobos_toolexecdir, phobos_toolexeclibdir
     # Install a library built with a cross compiler in tooldir, not libdir.
diff -Ndur gcc-4.8.5-gdc/libphobos/configure.ac gcc-4.8.5-gdc-lib-install/libphobos/configure.ac
--- gcc-4.8.5-gdc/libphobos/configure.ac	2015-02-26 00:23:38.000000000 +0200
+++ gcc-4.8.5-gdc-lib-install/libphobos/configure.ac	2015-07-18 18:02:53.542372910 +0300
@@ -146,7 +146,7 @@
 # Version-specific runtime libs processing.
 if test $version_specific_libs = yes; then
     phobos_toolexecdir='${libdir}/gcc/${host_alias}'
-    phobos_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
+    phobos_toolexeclibdir='${toolexecdir}/'${d_gcc_ver}'$(MULTISUBDIR)'
 else
     # Calculate phobos_toolexecdir, phobos_toolexeclibdir
     # Install a library built with a cross compiler in tooldir, not libdir.
diff -Ndur gcc-4.8.5-gdc/libphobos/libdruntime/Makefile.am gcc-4.8.5-gdc-lib-install/libphobos/libdruntime/Makefile.am
--- gcc-4.8.5-gdc/libphobos/libdruntime/Makefile.am	2015-07-18 17:41:28.000000000 +0300
+++ gcc-4.8.5-gdc-lib-install/libphobos/libdruntime/Makefile.am	2015-07-18 18:02:53.542372910 +0300
@@ -236,7 +236,7 @@
 
 install-exec-local: libgdruntime.a
 	$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
-	$(INSTALL) libgdruntime.a $(DESTDIR)$(toolexeclibdir)
+	$(INSTALL_DATA) libgdruntime.a $(DESTDIR)$(toolexeclibdir)
 	$(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgdruntime.a
 
 install-data-local: libgdruntime.a
diff -Ndur gcc-4.8.5-gdc/libphobos/libdruntime/Makefile.in gcc-4.8.5-gdc-lib-install/libphobos/libdruntime/Makefile.in
--- gcc-4.8.5-gdc/libphobos/libdruntime/Makefile.in	2015-07-18 17:41:28.000000000 +0300
+++ gcc-4.8.5-gdc-lib-install/libphobos/libdruntime/Makefile.in	2015-07-18 18:02:53.543372910 +0300
@@ -642,7 +642,7 @@
 
 install-exec-local: libgdruntime.a
 	$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
-	$(INSTALL) libgdruntime.a $(DESTDIR)$(toolexeclibdir)
+	$(INSTALL_DATA) libgdruntime.a $(DESTDIR)$(toolexeclibdir)
 	$(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgdruntime.a
 
 install-data-local: libgdruntime.a
diff -Ndur gcc-4.8.5-gdc/libphobos/src/Makefile.am gcc-4.8.5-gdc-lib-install/libphobos/src/Makefile.am
--- gcc-4.8.5-gdc/libphobos/src/Makefile.am	2015-02-26 00:23:38.000000000 +0200
+++ gcc-4.8.5-gdc-lib-install/libphobos/src/Makefile.am	2015-07-18 18:02:53.543372910 +0300
@@ -133,7 +133,7 @@
 
 install-exec-local: libgphobos2.a
 	$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
-	$(INSTALL) libgphobos2.a $(DESTDIR)$(toolexeclibdir)
+	$(INSTALL_DATA) libgphobos2.a $(DESTDIR)$(toolexeclibdir)
 	$(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgphobos2.a
 
 install-data-local: libgphobos2.a
diff -Ndur gcc-4.8.5-gdc/libphobos/src/Makefile.in gcc-4.8.5-gdc-lib-install/libphobos/src/Makefile.in
--- gcc-4.8.5-gdc/libphobos/src/Makefile.in	2015-02-26 00:23:38.000000000 +0200
+++ gcc-4.8.5-gdc-lib-install/libphobos/src/Makefile.in	2015-07-18 18:02:53.543372910 +0300
@@ -545,7 +545,7 @@
 
 install-exec-local: libgphobos2.a
 	$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
-	$(INSTALL) libgphobos2.a $(DESTDIR)$(toolexeclibdir)
+	$(INSTALL_DATA) libgphobos2.a $(DESTDIR)$(toolexeclibdir)
 	$(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgphobos2.a
 
 install-data-local: libgphobos2.a
openSUSE Build Service is sponsored by