openbsd-ports/devel/libffi/patches/patch-configure
jasper de46d01df2 - enable libffi on mips64(el)
ok espie@ phessler@

ports is unlocked for a while only for those who have been informed.
if I DID NOT MAIL YOU, DO NOT COMMIT!
2010-02-23 19:08:55 +00:00

36 lines
978 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2010/02/23 19:08:55 jasper Exp $
Enable libffi on hppa, mips64(el) and powerpc platforms.
--- configure.orig Fri Dec 19 17:12:45 2008
+++ configure Sat Feb 20 00:37:30 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,8 +21017,9 @@ case "$host" in
mips-sgi-irix5.* | mips-sgi-irix6.*)
TARGET=MIPS; TARGETDIR=mips
;;
- mips*-*-linux*)
+ mips*-*-linux* | mips*-*-openbsd*)
TARGET=MIPS; TARGETDIR=mips
+ HAVE_LONG_DOUBLE='defined(__mips)'
;;
powerpc*-*-linux* | powerpc-*-sysv*)
@@ -21033,7 +21034,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*)