openbsd-ports/lang/gcc/4.6/patches/patch-libffi_configure
pascal be59426cab - 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@.
2012-01-26 13:17:22 +00:00

23 lines
870 B
Plaintext

$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