This the lowest version required by GHC HEAD.
Tested by using for GHC HEAD build.
Removed the patch as make test passes as is.
Updated AUTOCONF_VERSION to reduce old version use.
Removed the comment referencing defunct haskell-platform.
-- 
nest.cx is Gmail hosted, use PGP: https://pgp.key-server.io/0x0B1542BD8DF5A1B0
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0
From 26975ed71595927224477356dfbf9433c9c72be2 Mon Sep 17 00:00:00 2001
From: Greg Steuck <g...@nest.cx>
Date: Sat, 9 May 2020 17:13:20 -0700
Subject: [PATCH] Update devel/happy to 1.19.10

This the lowest version required by GHC HEAD.
Removed the patch as make test passes as is.
Updated AUTOCONF_VERSION to reduce old version use.
Removed the comment referencing defunct haskell-platform.
---
 devel/happy/Makefile                     |  7 ++-----
 devel/happy/distinfo                     |  4 ++--
 devel/happy/patches/patch-tests_Makefile | 14 --------------
 devel/happy/pkg/PLIST                    |  1 +
 4 files changed, 5 insertions(+), 21 deletions(-)
 delete mode 100644 devel/happy/patches/patch-tests_Makefile

diff --git devel/happy/Makefile devel/happy/Makefile
index 4d6652ccb0c..416fc98e212 100644
--- devel/happy/Makefile
+++ devel/happy/Makefile
@@ -2,12 +2,9 @@
 
 COMMENT=		parser generator for Haskell
 
-# Dependency of meta/haskell-platform.
-# Please do *not* update without thinking.
 PORTROACH =		ignore:1
 
-DISTNAME=		happy-1.19.5
-REVISION=		1
+DISTNAME=		happy-1.19.10
 CATEGORIES=		devel
 
 HOMEPAGE=		http://www.haskell.org/happy/
@@ -29,7 +26,7 @@ BUILD_DEPENDS+=		textproc/docbook-xsl
 # Required for building the documentation and for the regression tests:
 USE_GMAKE=		Yes
 CONFIGURE_STYLE=	autoconf no-autoheader
-AUTOCONF_VERSION=	2.61
+AUTOCONF_VERSION=	2.69
 AUTOCONF_DIR=		${WRKSRC}/doc
 WRKCONF=		${AUTOCONF_DIR}
 
diff --git devel/happy/distinfo devel/happy/distinfo
index 3a5029d64d5..0e2838f9490 100644
--- devel/happy/distinfo
+++ devel/happy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ghc/happy-1.19.5.tar.gz) = YvA6wR17S5kT8hL1qi7uEIfztG3AfXmdQeGFT/AoQ9o=
-SIZE (ghc/happy-1.19.5.tar.gz) = 159280
+SHA256 (ghc/happy-1.19.10.tar.gz) = IutgbJcQWzluHH3CfhIMoCAlqH8+RNLqUr5qZTpSyu0=
+SIZE (ghc/happy-1.19.10.tar.gz) = 181506
diff --git devel/happy/patches/patch-tests_Makefile devel/happy/patches/patch-tests_Makefile
deleted file mode 100644
index da7e112402b..00000000000
--- devel/happy/patches/patch-tests_Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-$OpenBSD: patch-tests_Makefile,v 1.4 2014/11/22 20:42:08 kili Exp $
-
-AttrGrammer stuff and monaderror.y don't exist.
-
---- tests/Makefile.orig	Mon Jul  7 13:05:53 2014
-+++ tests/Makefile	Thu Nov 13 09:27:21 2014
-@@ -13,7 +13,6 @@ endif
- TESTS = Test.ly TestMulti.ly TestPrecedence.ly bug001.ly \
- 	monad001.y monad002.ly precedence001.ly precedence002.y \
- 	bogus-token.y bug002.y Partial.ly \
--	AttrGrammar001.y AttrGrammar002.y \
- 	test_rules.y monaderror.y
- 
- ERROR_TESTS = error001.y
diff --git devel/happy/pkg/PLIST devel/happy/pkg/PLIST
index 776ba069de7..f41ec432946 100644
--- devel/happy/pkg/PLIST
+++ devel/happy/pkg/PLIST
@@ -24,6 +24,7 @@ share/doc/happy/sec-glr.html
 share/doc/happy/sec-grammar-files.html
 share/doc/happy/sec-grammar.html
 share/doc/happy/sec-happy-ghci.html
+share/doc/happy/sec-info-files-conflicts.html
 share/doc/happy/sec-info-files.html
 share/doc/happy/sec-invoking.html
 share/doc/happy/sec-license.html
-- 
2.26.2

Reply via email to