openbsd-ports/lang/kaffe/patches/patch-external_gcc_fastjar_configure
2011-09-22 21:15:30 +00:00

78 lines
3.4 KiB
Plaintext

$OpenBSD: patch-external_gcc_fastjar_configure,v 1.1 2011/09/22 21:15:31 jasper Exp $
--- external/gcc/fastjar/configure.orig Sun Mar 26 19:43:50 2006
+++ external/gcc/fastjar/configure Wed Sep 21 01:29:39 2011
@@ -7014,6 +7014,7 @@ echo $ECHO_N "checking whether the $compiler linker ($
hardcode_libdir_flag_spec_ld=
hardcode_libdir_separator=
hardcode_direct=no
+ hardcode_direct_absolute=no
hardcode_minus_L=no
hardcode_shlibpath_var=unsupported
link_all_deplibs=unknown
@@ -7761,6 +7762,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
openbsd*)
hardcode_direct=yes
hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
@@ -9930,6 +9932,12 @@ hardcode_libdir_separator=$lt_hardcode_libdir_separato
# resulting binary.
hardcode_direct=$hardcode_direct
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# absolute, i.e impossible to change by setting ${shlibpath_var} if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L=$hardcode_minus_L
@@ -10096,6 +10104,7 @@ always_export_symbols_CXX=no
archive_expsym_cmds_CXX=
export_dynamic_flag_spec_CXX=
hardcode_direct_CXX=no
+hardcode_direct_absolute_CXX=no
hardcode_libdir_flag_spec_CXX=
hardcode_libdir_flag_spec_ld_CXX=
hardcode_libdir_separator_CXX=
@@ -10986,6 +10995,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
openbsd*)
hardcode_direct_CXX=yes
hardcode_shlibpath_var_CXX=no
+ hardcode_direct_absolute_CXX=yes
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
@@ -12962,6 +12972,12 @@ hardcode_libdir_separator=$lt_hardcode_libdir_separato
# resulting binary.
hardcode_direct=$hardcode_direct_CXX
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# absolute, i.e impossible to change by setting ${shlibpath_var} if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L=$hardcode_minus_L_CXX
@@ -13058,6 +13074,7 @@ always_export_symbols_F77=no
archive_expsym_cmds_F77=
export_dynamic_flag_spec_F77=
hardcode_direct_F77=no
+hardcode_direct_absolute_F77=no
hardcode_libdir_flag_spec_F77=
hardcode_libdir_flag_spec_ld_F77=
hardcode_libdir_separator_F77=
@@ -13577,6 +13594,7 @@ echo $ECHO_N "checking whether the $compiler linker ($
hardcode_libdir_flag_spec_ld_F77=
hardcode_libdir_separator_F77=
hardcode_direct_F77=no
+ hardcode_direct_absolute_F77=no
hardcode_minus_L_F77=no
hardcode_shlibpath_var_F77=unsupported
link_all_deplibs_F77=unknown