openbsd-ports/lang/ghc/patches/patch-configure
2005-02-19 03:42:11 +00:00

20 lines
680 B
Plaintext

$OpenBSD: patch-configure,v 1.8 2005/02/19 03:42:11 dons Exp $
--- configure.orig Tue Oct 19 12:40:17 2004
+++ configure Thu Feb 17 18:13:34 2005
@@ -1506,6 +1506,15 @@ alpha*-unknown-freebsd*)
HostVendor_CPP='unknown'
HostOS_CPP='freebsd'
;;
+amd64*-unknown-openbsd*)
+ HostPlatform=x86_64-unknown-openbsd
+ TargetPlatform=x86_64-unknown-openbsd
+ BuildPlatform=x86_64-unknown-openbsd
+ HostPlatform_CPP='x86_64_unknown_openbsd'
+ HostArch_CPP='x86_64'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='openbsd'
+ ;;
arm*-linux*)
HostPlatform=arm-unknown-linux # hack again
TargetPlatform=arm-unknown-linux