pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-fail



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Aug 24 12:15:50 UTC 2020

Modified Files:
        pkgsrc/devel/hs-fail: Makefile PLIST

Log Message:
Fix build with the upcoming GHC 8.8.4


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-fail/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-fail/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hs-fail/Makefile
diff -u pkgsrc/devel/hs-fail/Makefile:1.1 pkgsrc/devel/hs-fail/Makefile:1.2
--- pkgsrc/devel/hs-fail/Makefile:1.1   Tue Dec 31 14:24:57 2019
+++ pkgsrc/devel/hs-fail/Makefile       Mon Aug 24 12:15:50 2020
@@ -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 @@ LICENSE=       modified-bsd
 
 # 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"

Index: pkgsrc/devel/hs-fail/PLIST
diff -u pkgsrc/devel/hs-fail/PLIST:1.2 pkgsrc/devel/hs-fail/PLIST:1.3
--- pkgsrc/devel/hs-fail/PLIST:1.2      Sun Jun 21 22:21:03 2020
+++ pkgsrc/devel/hs-fail/PLIST  Mon Aug 24 12:15:50 2020
@@ -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