pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/hs-pager



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Nov  2 01:24:17 UTC 2023

Modified Files:
        pkgsrc/misc/hs-pager: Makefile distinfo
Added Files:
        pkgsrc/misc/hs-pager/patches: patch-pager.cabal

Log Message:
misc/hs-pager: Fix build on platforms where ${SED} is textproc/nbsed


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/hs-pager/Makefile \
    pkgsrc/misc/hs-pager/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/hs-pager/patches/patch-pager.cabal

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

Modified files:

Index: pkgsrc/misc/hs-pager/Makefile
diff -u pkgsrc/misc/hs-pager/Makefile:1.1 pkgsrc/misc/hs-pager/Makefile:1.2
--- pkgsrc/misc/hs-pager/Makefile:1.1   Tue Oct 31 15:33:10 2023
+++ pkgsrc/misc/hs-pager/Makefile       Thu Nov  2 01:24:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/10/31 15:33:10 pho Exp $
+# $NetBSD: Makefile,v 1.2 2023/11/02 01:24:16 pho Exp $
 
 DISTNAME=      pager-0.1.1.0
 CATEGORIES=    misc
@@ -7,12 +7,6 @@ MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Open up a pager, like 'less' or 'more'
 LICENSE=       2-clause-bsd
 
-# Don't build or install an example program.
-SUBST_CLASSES+=                example
-SUBST_STAGE.example=   post-extract
-SUBST_FILES.example=   pager.cabal
-SUBST_SED.example=     -e '/^executable hs-pager-test-pager$$/a\${.newline}  buildable: False'
-
 .include "../../devel/hs-conduit/buildlink3.mk"
 .include "../../devel/hs-conduit-extra/buildlink3.mk"
 .include "../../devel/hs-resourcet/buildlink3.mk"
Index: pkgsrc/misc/hs-pager/distinfo
diff -u pkgsrc/misc/hs-pager/distinfo:1.1 pkgsrc/misc/hs-pager/distinfo:1.2
--- pkgsrc/misc/hs-pager/distinfo:1.1   Tue Oct 31 15:33:10 2023
+++ pkgsrc/misc/hs-pager/distinfo       Thu Nov  2 01:24:16 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/10/31 15:33:10 pho Exp $
+$NetBSD: distinfo,v 1.2 2023/11/02 01:24:16 pho Exp $
 
 BLAKE2s (pager-0.1.1.0.tar.gz) = 7591a8394d8354e4f11c7a0753f428dbded846f933e3061490d5ecb378dd8d62
 SHA512 (pager-0.1.1.0.tar.gz) = db8fd740cfe482076dd162dd0ac36e973ea84d89e3859cd2877f1809608fdb0e0cd9cc5c207482dd892245ccece6f4df918f16e431b822ca5e1b4d9efda942c4
 Size (pager-0.1.1.0.tar.gz) = 3751 bytes
+SHA1 (patch-pager.cabal) = fdc55640b8a505d4ad958d493b7083a6573d1b70

Added files:

Index: pkgsrc/misc/hs-pager/patches/patch-pager.cabal
diff -u /dev/null pkgsrc/misc/hs-pager/patches/patch-pager.cabal:1.1
--- /dev/null   Thu Nov  2 01:24:17 2023
+++ pkgsrc/misc/hs-pager/patches/patch-pager.cabal      Thu Nov  2 01:24:16 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-pager.cabal,v 1.1 2023/11/02 01:24:16 pho Exp $
+
+Do not build or install the example executable. We don't want it in pkgsrc.
+
+--- pager.cabal.orig   2023-11-02 01:23:05.923211243 +0000
++++ pager.cabal
+@@ -56,6 +56,7 @@ library
+     , transformers
+   
+ executable hs-pager-test-pager
++  buildable: False
+   default-language:    Haskell2010
+   hs-source-dirs: test
+   other-modules: Paths_pager



Home | Main Index | Thread Index | Old Index