Fix for perl 5.10.

Thanks to sthen@ for testing the build on amd64.
This commit is contained in:
kili 2008-10-02 19:50:52 +00:00
parent 5b1aeccd44
commit de06ccc115
3 changed files with 1247 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.28 2008/09/23 13:27:11 bernd Exp $
# $OpenBSD: Makefile,v 1.29 2008/10/02 19:50:52 kili Exp $
#
# Ancient versions based on Simon Marlow's port script for FreeBSD:
# $FreeBSD: ports/lang/ghc/Makefile,v 1.13 2002/08/22 12:53:38 obraun Exp $
@ -88,7 +88,8 @@ SUBST_VARS= MODGHC_VER
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_STYLE= gnu dest autoconf
AUTOCONF_VERSION= 2.57
CONFIGURE_ARGS+= --with-gmp-includes=${LOCALBASE}/include \
--with-gmp-libraries=${LOCALBASE}/lib

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-aclocal_m4,v 1.1 2008/10/02 19:50:52 kili Exp $
--- aclocal.m4.orig Wed Apr 25 19:10:41 2007
+++ aclocal.m4 Tue Sep 30 15:45:58 2008
@@ -571,7 +571,7 @@ AC_DEFUN([FPTOOLS_CHECK_PERL_VERSION],
if grep "v5.8" conftest.out >/dev/null 2>&1; then
:
else
- if grep "version 6" conftest.out >/dev/null 2>&1; then
+ if grep "v5.10" conftest.out >/dev/null 2>&1; then
:
else
AC_MSG_ERROR([your version of perl probably won't work, try upgrading it.])

File diff suppressed because it is too large Load Diff