Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hs-fail Fix build with the upcoming GHC 8.8.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8439de34d591
branches:  trunk
changeset: 437487:8439de34d591
user:      pho <pho%pkgsrc.org@localhost>
date:      Mon Aug 24 12:15:50 2020 +0000

description:
Fix build with the upcoming GHC 8.8.4

diffstat:

 devel/hs-fail/Makefile |  10 ++++++++--
 devel/hs-fail/PLIST    |   4 ++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 5e69f3b1610f -r 8439de34d591 devel/hs-fail/Makefile
--- a/devel/hs-fail/Makefile    Mon Aug 24 11:58:48 2020 +0000
+++ b/devel/hs-fail/Makefile    Mon Aug 24 12:15:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/12/31 14:24:57 pho Exp $
+# $NetBSD: Makefile,v 1.2 2020/08/24 12:15:50 pho Exp $
 
 DISTNAME=      fail-4.9.0.0
 CATEGORIES=    devel
@@ -9,7 +9,13 @@
 
 # This package becomes essentially blank when built with GHC >=
 # 8.0. Haddock complains when there are no input files.
-HASKELL_ENABLE_HADDOCK_DOCUMENTATION=   no
+HASKELL_ENABLE_HADDOCK_DOCUMENTATION=  no
+
+# Do not install the LICENCE file because ../../mk/haskell.mk can not
+# correctly substitute the path to doc files when the package is
+# blank.
+post-install:
+       ${RM} -rf ${DESTDIR}${PREFIX}/share/doc
 
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5e69f3b1610f -r 8439de34d591 devel/hs-fail/PLIST
--- a/devel/hs-fail/PLIST       Mon Aug 24 11:58:48 2020 +0000
+++ b/devel/hs-fail/PLIST       Mon Aug 24 12:15:50 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/06/21 22:21:03 rillig Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/08/24 12:15:50 pho Exp $
 ${HS_INTF}/package-description
 ${HS_INTF}/package-id
-share/doc/x86_64-netbsd-ghc-8.8.1/fail-${PKGVERSION}/LICENSE
+@pkgdir share



Home | Main Index | Thread Index | Old Index