public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.1.2/gentoo: 60_all_gcc41-libjava-PR27890.patch
@ 2009-01-28  4:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2009-01-28  4:10 UTC (permalink / raw
  To: gentoo-commits

vapier      09/01/28 04:10:14

  Added:                60_all_gcc41-libjava-PR27890.patch
  Log:
  backport behavior for libjava slotting #135840

Revision  Changes    Path
1.1                  src/patchsets/gcc/4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch?rev=1.1&content-type=text/plain

Index: 60_all_gcc41-libjava-PR27890.patch
===================================================================
http://bugs.gentoo.org/135840

reduced backport from newer versions

--- gcc-4.1.2/libjava/classpath/configure
+++ gcc-4.1.2/libjava/classpath/configure
@@ -4252,7 +4252,12 @@
 
 else
 
-	     nativelibdir='${libdir}/${PACKAGE}'
+multi_os_directory=`$CC -print-multi-os-directory`
+case $multi_os_directory in
+	.) toolexeclibdir=${libdir} ;; # Avoid trailing /.
+	*) toolexeclibdir=${libdir}/${multi_os_directory} ;;
+esac
+nativelibdir="${toolexeclibdir}/gcj-"`cat ${srcdir}/../../gcc/BASE-VER`
 
 fi;
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-28  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28  4:10 [gentoo-commits] gentoo commit in src/patchsets/gcc/4.1.2/gentoo: 60_all_gcc41-libjava-PR27890.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox