openbsd-ports/devel/haddock/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

21 lines
704 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2004/05/17 03:38:51 dons Exp $
Let haddock know about amd64/openbsd
--- configure.orig Thu Apr 22 14:10:05 2004
+++ configure Thu Apr 22 14:10:30 2004
@@ -1506,6 +1506,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