openbsd-ports/lang/gcc/4.8/patches/patch-libjava_libltdl_configure
pascal 174fb904d7 Import gcc 4.8.
For a full Changelog, see: http://gcc.gnu.org/gcc-4.8/changes.html

Tested by me on amd64, i386 and powerpc and by brad@ on sparc64.

Adds support for -java on powerpc.  -faggressive-loop-optimizations is
disabled by default in the port, and the default debugging format changed
to DWARF2 (instead of 4).

tweaks and ok tobiasu@
2013-04-08 08:20:19 +00:00

23 lines
843 B
Plaintext

$OpenBSD: patch-libjava_libltdl_configure,v 1.1.1.1 2013/04/08 08:20:25 pascal Exp $
--- libjava/libltdl/configure.orig Wed Oct 26 11:30:24 2011
+++ libjava/libltdl/configure Wed Jan 25 21:13:59 2012
@@ -6891,9 +6891,6 @@ cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e
with_gnu_ld=no
fi
;;
- openbsd*)
- with_gnu_ld=no
- ;;
esac
ld_shlibs=yes
@@ -8183,7 +8180,7 @@ openbsd*)
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case $host_os in