openbsd-ports/lang/ghc/patches/patch-ghc_includes_Makefile
dons cd5fda6e80 Update ghc to 6.2.2.
Adds support for ghci. More stable foreign function interface.

Just i386 at the moment.

ok sturm@ pvalchev@
2005-02-14 01:26:56 +00:00

17 lines
603 B
Plaintext

$OpenBSD: patch-ghc_includes_Makefile,v 1.3 2005/02/14 01:26:56 dons Exp $
Get the real gmp.h, not the obsolete one ghc brings with it
--- ghc/includes/Makefile.orig Thu Sep 4 19:56:16 2003
+++ ghc/includes/Makefile Wed Feb 2 10:55:40 2005
@@ -27,8 +27,8 @@ boot :: gmp.h
all :: $(H_CONFIG) NativeDefs.h
# gmp.h is copied from the GMP directory
-gmp.h : $(FPTOOLS_TOP)/ghc/rts/gmp/gmp.h
- $(CP) $< $@
+gmp.h :
+ $(CP) $(LOCALBASE)/include/gmp.h $@
# The fptools configure script creates the configuration header file
# and puts it in fptools/mk/config.h. We copy it down to here, prepending