- bump libestdc++ following the bump in gcc 4.2

- deal with ldconfig shitz being run at fake install everywhere
- fix sprintf/strcpy usage in libestdc++ so we don't get a warning every time
  we compile a C++ program

Everything brought up by espie@.
This commit is contained in:
pascal 2012-01-26 13:17:22 +00:00
parent 49fb698bf8
commit be59426cab
21 changed files with 315 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2012/01/24 19:19:27 espie Exp $
# $OpenBSD: Makefile,v 1.14 2012/01/26 13:17:22 pascal Exp $
ONLY_FOR_ARCHS = amd64 i386 powerpc sparc sparc64
@ -19,7 +19,7 @@ PKGNAME-objc = gobjc-${FULL_PKGVERSION}
PKGNAME-ada = gnat-${FULL_PKGVERSION}
PKGNAME-go = gccgo-${FULL_PKGVERSION}
SHARED_LIBS = estdc++ 12.0 \
SHARED_LIBS = estdc++ 14.0 \
gfortran 3.0 \
gcj 1.0 \
gcj-tools 1.0 \

View File

@ -1,4 +1,4 @@
# $OpenBSD: gcc4.port.mk,v 1.7 2011/12/14 18:16:51 robert Exp $
# $OpenBSD: gcc4.port.mk,v 1.8 2012/01/26 13:17:22 pascal Exp $
MODGCC4_ARCHS ?=
MODGCC4_LANGS ?=
@ -41,7 +41,7 @@ _MODGCC4_LINKS += egcc gcc egcc cc
BUILD_DEPENDS += lang/gcc/4.6,-c++>=4.6,<4.7
MODGCC4STDCPP = estdc++
LIB_DEPENDS += lang/gcc/4.6,-estdc>=4.6,<4.7
WANTLIB += estdc++>=12
WANTLIB += estdc++>=14
_MODGCC4_LINKS += eg++ g++ eg++ c++
. endif

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-boehm-gc_configure,v 1.3 2011/12/08 17:40:55 pascal Exp $
$OpenBSD: patch-boehm-gc_configure,v 1.4 2012/01/26 13:17:22 pascal Exp $
--- boehm-gc/configure.orig Wed Oct 26 11:30:24 2011
+++ boehm-gc/configure Thu Dec 8 16:49:20 2011
+++ boehm-gc/configure Wed Jan 25 18:20:55 2012
@@ -615,6 +615,8 @@ CPLUSPLUS_TRUE
target_all
EXTRA_TEST_LIBS
@ -10,6 +10,24 @@ $OpenBSD: patch-boehm-gc_configure,v 1.3 2011/12/08 17:40:55 pascal Exp $
POWERPC_DARWIN_FALSE
POWERPC_DARWIN_TRUE
THREADLIBS
@@ -10756,7 +10758,7 @@ netbsd*)
need_version=no
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
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'
dynamic_linker='NetBSD (a.out) ld.so'
else
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -14480,7 +14482,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -14855,6 +14857,12 @@ $as_echo "#define _REENTRANT 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
$as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-gcc_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- gcc/configure.orig Wed Oct 12 20:07:25 2011
+++ gcc/configure Wed Jan 25 18:20:41 2012
@@ -16927,7 +16927,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -20586,7 +20586,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -1,13 +1,22 @@
$OpenBSD: patch-libffi_configure,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- libffi/configure.orig Sat Nov 12 13:54:59 2011
+++ libffi/configure Sat Nov 12 13:59:37 2011
@@ -11410,6 +11410,9 @@ case "$host" in
$OpenBSD: patch-libffi_configure,v 1.2 2012/01/26 13:17:22 pascal Exp $
--- libffi/configure.orig Wed Oct 26 11:30:24 2011
+++ libffi/configure Wed Jan 25 17:46:20 2012
@@ -10188,7 +10188,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -11409,6 +11409,9 @@ case "$host" in
;;
powerpc64-*-freebsd*)
TARGET=POWERPC; TARGETDIR=powerpc
;;
+ ;;
+ powerpc-*-openbsd*)
+ TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
+ ;;
;;
powerpc*-*-rtems*)
TARGET=POWERPC; TARGETDIR=powerpc
;;

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-libgfortran_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libgfortran/configure.orig Wed Oct 26 11:30:24 2011
+++ libgfortran/configure Wed Jan 25 18:21:36 2012
@@ -11519,7 +11519,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -15141,7 +15141,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libgo_config_libtool_m4,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libgo/config/libtool.m4.orig Wed Jan 25 10:24:45 2012
+++ libgo/config/libtool.m4 Wed Jan 25 10:24:56 2012
@@ -2546,7 +2546,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-libgo_configure,v 1.2 2011/11/22 21:46:39 pascal Exp $
$OpenBSD: patch-libgo_configure,v 1.3 2012/01/26 13:17:22 pascal Exp $
--- libgo/configure.orig Mon Feb 21 05:17:20 2011
+++ libgo/configure Tue Nov 22 18:27:42 2011
+++ libgo/configure Wed Jan 25 17:49:19 2012
@@ -644,6 +644,8 @@ LIBGO_IS_LINUX_FALSE
LIBGO_IS_LINUX_TRUE
LIBGO_IS_FREEBSD_FALSE
@ -10,6 +10,15 @@ $OpenBSD: patch-libgo_configure,v 1.2 2011/11/22 21:46:39 pascal Exp $
LIBGO_IS_DARWIN_FALSE
LIBGO_IS_DARWIN_TRUE
LIBFFIINCS
@@ -10320,7 +10322,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -13213,6 +13215,7 @@ fi
is_darwin=no

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-libgomp_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libgomp/configure.orig Wed Oct 26 11:30:24 2011
+++ libgomp/configure Wed Jan 25 18:22:06 2012
@@ -10504,7 +10504,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -14137,7 +14137,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-libiberty_cp-demangle_c,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libiberty/cp-demangle.c.orig Wed Jan 25 10:50:45 2012
+++ libiberty/cp-demangle.c Wed Jan 25 10:54:17 2012
@@ -3409,7 +3409,7 @@ static inline void
d_append_num (struct d_print_info *dpi, long l)
{
char buf[25];
- sprintf (buf,"%ld", l);
+ snprintf (buf, 25, "%ld", l);
d_append_string (dpi, buf);
}
@@ -5015,7 +5015,7 @@ __cxa_demangle (const char *mangled_name, char *output
{
if (strlen (demangled) < *length)
{
- strcpy (output_buffer, demangled);
+ strlcpy (output_buffer, demangled, *length);
free (demangled);
demangled = output_buffer;
}

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-libjava_classpath_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libjava/classpath/configure.orig Wed Jan 25 21:12:12 2012
+++ libjava/classpath/configure Wed Jan 25 21:12:29 2012
@@ -11218,7 +11218,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -16277,7 +16277,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -1,6 +1,33 @@
$OpenBSD: patch-libjava_configure,v 1.1.1.1 2011/11/14 13:00:56 pascal Exp $
--- libjava/configure.orig Tue Nov 1 19:14:49 2011
+++ libjava/configure Tue Nov 1 19:15:31 2011
$OpenBSD: patch-libjava_configure,v 1.2 2012/01/26 13:17:22 pascal Exp $
--- libjava/configure.orig Wed Oct 26 11:30:24 2011
+++ libjava/configure Wed Jan 25 21:13:10 2012
@@ -6369,7 +6369,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
@@ -12753,7 +12753,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -16436,7 +16436,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -20727,7 +20727,7 @@ case "$THREADS" in
# support for weak references to pthread_* functions ala gthr.h API.
THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-libjava_libltdl_configure,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- libjava/libltdl/configure.orig Sat Nov 12 14:07:46 2011
+++ libjava/libltdl/configure Sat Nov 12 14:08:07 2011
$OpenBSD: patch-libjava_libltdl_configure,v 1.2 2012/01/26 13:17:22 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
@ -11,3 +11,12 @@ $OpenBSD: patch-libjava_libltdl_configure,v 1.1.1.1 2011/11/14 13:00:57 pascal E
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libmudflap_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libmudflap/configure.orig Wed Jan 25 17:50:38 2012
+++ libmudflap/configure Wed Jan 25 17:50:46 2012
@@ -10005,7 +10005,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libobjc_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libobjc/configure.orig Wed Jan 25 17:50:55 2012
+++ libobjc/configure Wed Jan 25 17:51:02 2012
@@ -9990,7 +9990,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libquadmath_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libquadmath/configure.orig Wed Jan 25 17:51:10 2012
+++ libquadmath/configure Wed Jan 25 17:51:17 2012
@@ -9920,7 +9920,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libssp_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- libssp/configure.orig Wed Jan 25 17:51:22 2012
+++ libssp/configure Wed Jan 25 17:51:31 2012
@@ -10057,7 +10057,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-libstdc++-v3_configure,v 1.5 2012/01/26 13:17:22 pascal Exp $
--- libstdc++-v3/configure.orig Thu Oct 6 01:09:51 2011
+++ libstdc++-v3/configure Wed Jan 25 18:17:11 2012
@@ -10891,7 +10891,7 @@ openbsd*)
*) need_version=no ;;
esac
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
@@ -14574,7 +14574,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -1,16 +1,12 @@
$OpenBSD: patch-libtool_m4,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- libtool.m4.orig Sat Nov 12 14:18:33 2011
+++ libtool.m4 Sat Nov 12 14:19:43 2011
@@ -3099,11 +3099,7 @@ newos6*)
;;
openbsd*)
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
- else
- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
osf3* | osf4* | osf5*)
$OpenBSD: patch-libtool_m4,v 1.2 2012/01/26 13:17:22 pascal Exp $
--- libtool.m4.orig Sun Feb 13 12:45:53 2011
+++ libtool.m4 Wed Jan 25 10:25:11 2012
@@ -2528,7 +2528,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lto-plugin_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- lto-plugin/configure.orig Wed Jan 25 17:52:19 2012
+++ lto-plugin/configure Wed Jan 25 17:52:28 2012
@@ -9920,7 +9920,7 @@ openbsd*)
*) need_version=no ;;
esac
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-zlib_configure,v 1.1 2012/01/26 13:17:22 pascal Exp $
--- zlib/configure.orig Wed Jan 25 17:52:40 2012
+++ zlib/configure Wed Jan 25 17:52:47 2012
@@ -9793,7 +9793,7 @@ openbsd*)
*) need_version=no ;;
esac
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