Backport devel/libffi/patches/patch-configure so that it passes

configure step on hppa/mips/powerpc. Well, hppa & mips are not (yet?) in
ONLY_FOR_ARCHS, so that should only affect powerpc..
This commit is contained in:
landry 2010-03-30 08:11:22 +00:00
parent 9908053f9b
commit abd7bbe215

View File

@ -0,0 +1,31 @@
$OpenBSD: patch-js_ctypes_libffi_configure,v 1.1 2010/03/30 08:11:22 landry Exp $
backported from devel/libffi/patches/patch-configure
--- js/ctypes/libffi/configure.orig Tue Mar 30 09:45:39 2010
+++ js/ctypes/libffi/configure Tue Mar 30 09:54:29 2010
@@ -20976,7 +20976,7 @@ case "$host" in
TARGET=FRV; TARGETDIR=frv
;;
- hppa*-*-linux* | parisc*-*-linux*)
+ hppa*-*-linux* | hppa*-*-openbsd* | parisc*-*-linux*)
TARGET=PA_LINUX; TARGETDIR=pa
;;
hppa*64-*-hpux*)
@@ -21017,7 +21017,7 @@ case "$host" in
mips-sgi-irix5.* | mips-sgi-irix6.*)
TARGET=MIPS; TARGETDIR=mips
;;
- mips*-*-linux*)
+ mips*-*-linux* | mips*-*-openbsd* )
TARGET=MIPS; TARGETDIR=mips
;;
@@ -21033,7 +21033,7 @@ case "$host" in
powerpc-*-aix* | rs6000-*-aix*)
TARGET=POWERPC_AIX; TARGETDIR=powerpc
;;
- powerpc-*-freebsd*)
+ powerpc-*-freebsd* | powerpc-*-openbsd* )
TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
;;
powerpc*-*-rtems*)