openbsd-ports/devel/happy/patches/patch-configure
dons 2419ed30f2 Fix configure to handle both amd64-* and x86_64-*. Either could be
produced depending on which config.sub we are using.

pointed out by me and naddy@
ok naddy@ pvalchev@
2004-05-17 03:38:51 +00:00

22 lines
700 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2004/05/17 03:39:53 dons Exp $
Let Happy know about the amd64.
--- configure.orig Thu Apr 22 13:30:36 2004
+++ configure Thu Apr 22 13:30:54 2004
@@ -1487,6 +1487,15 @@
HostVendor_CPP='unknown'
HostOS_CPP='freebsd'
;;
+amd64*-*-openbsd*|x86_64-*-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