Skip to content

Commit

Permalink
devel/hs-hashable: Fix build with GHC 9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
depressed-pho committed Jan 26, 2023
1 parent ace2884 commit 87fcfc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion devel/hs-hashable/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2023/01/25 09:24:45 pho Exp $
# $NetBSD: Makefile,v 1.23 2023/01/26 03:26:34 pho Exp $

DISTNAME= hashable-1.4.2.0
CATEGORIES= devel
Expand All @@ -7,5 +7,6 @@ MAINTAINER= [email protected]
COMMENT= Class for types that can be converted to a hash value
LICENSE= modified-bsd

.include "../../devel/hs-data-array-byte/buildlink3.mk" # Only required on GHC < 9.4
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 3 additions & 1 deletion devel/hs-hashable/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.19 2023/01/25 09:24:45 pho Exp $
# $NetBSD: buildlink3.mk,v 1.20 2023/01/26 03:26:34 pho Exp $

BUILDLINK_TREE+= hs-hashable

Expand All @@ -8,6 +8,8 @@ HS_HASHABLE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-hashable+= hs-hashable>=1.4.2
BUILDLINK_ABI_DEPENDS.hs-hashable+= hs-hashable>=1.4.2.0
BUILDLINK_PKGSRCDIR.hs-hashable?= ../../devel/hs-hashable

.include "../../devel/hs-data-array-byte/buildlink3.mk"
.endif # HS_HASHABLE_BUILDLINK3_MK

BUILDLINK_TREE+= -hs-hashable

0 comments on commit 87fcfc8

Please sign in to comment.