openbsd-ports/devel/libffi/patches/patch-configure
jasper 56c4dcb339 - update libffi to 3.0.9
- remove unneeded patch
2010-09-19 20:19:15 +00:00

34 lines
977 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2010/09/19 20:19:15 jasper Exp $
Enable libffi on hppa, mips64(el) and powerpc platforms.
--- configure.orig Sun Sep 19 21:29:33 2010
+++ configure Sun Sep 19 21:31:27 2010
@@ -12167,7 +12167,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*)
@@ -12210,7 +12210,7 @@ case "$host" in
mips-sgi-irix5.* | mips-sgi-irix6.*)
TARGET=MIPS; TARGETDIR=mips
;;
- mips*-*-linux*)
+ mips*-*-linux* | mips*-*-openbsd*)
# Support 128-bit long double for NewABI.
HAVE_LONG_DOUBLE='defined(__mips64)'
TARGET=MIPS; TARGETDIR=mips
@@ -12228,7 +12228,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*)