Let happy build on amd64.

Update maintainer and add RCS tags.

ok pvalchev@ avsm@
This commit is contained in:
dons 2004-04-23 03:00:07 +00:00
parent e1a1b45af0
commit 94f931f2da
3 changed files with 24 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2004/04/17 18:36:48 avsm Exp $
# $OpenBSD: Makefile,v 1.4 2004/04/23 03:00:07 dons Exp $
COMMENT= "parser generator for the functional language Haskell"
@ -7,7 +7,7 @@ DISTNAME= happy-${V}
CATEGORIES= devel
HOMEPAGE= http://www.haskell.org/ghc/
MAINTAINER= Don Stewart <dons@cse.unsw.edu.au>
MAINTAINER= Don Stewart <dons@openbsd.org>
MODULES= ghc

View File

@ -1,3 +1,4 @@
$OpenBSD: patch-Makefile,v 1.2 2004/04/23 03:00:07 dons Exp $
Add a nice regress target
--- Makefile.orig Wed Jun 19 23:48:31 2002

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.3 2004/04/23 03:00:07 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*-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