pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-isocline



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Nov  2 01:18:11 UTC 2023

Modified Files:
        pkgsrc/devel/hs-isocline: Makefile distinfo
Added Files:
        pkgsrc/devel/hs-isocline/patches: patch-isocline.cabal

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


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

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-isocline/Makefile
diff -u pkgsrc/devel/hs-isocline/Makefile:1.1 pkgsrc/devel/hs-isocline/Makefile:1.2
--- pkgsrc/devel/hs-isocline/Makefile:1.1       Tue Oct 24 14:08:06 2023
+++ pkgsrc/devel/hs-isocline/Makefile   Thu Nov  2 01:18:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/10/24 14:08:06 pho Exp $
+# $NetBSD: Makefile,v 1.2 2023/11/02 01:18:11 pho Exp $
 
 DISTNAME=      isocline-1.0.9
 CATEGORIES=    devel
@@ -7,12 +7,5 @@ MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Portable alternative to GNU Readline
 LICENSE=       mit
 
-# Do not build or install the example executable. We don't want it in
-# pkgsrc.
-SUBST_CLASSES+=                cabal
-SUBST_STAGE.cabal=     post-extract
-SUBST_FILES.cabal=     isocline.cabal
-SUBST_SED.cabal=       -e '/^executable /a\${.newline}  buildable: false'
-
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-isocline/distinfo
diff -u pkgsrc/devel/hs-isocline/distinfo:1.1 pkgsrc/devel/hs-isocline/distinfo:1.2
--- pkgsrc/devel/hs-isocline/distinfo:1.1       Tue Oct 24 14:08:06 2023
+++ pkgsrc/devel/hs-isocline/distinfo   Thu Nov  2 01:18:11 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/10/24 14:08:06 pho Exp $
+$NetBSD: distinfo,v 1.2 2023/11/02 01:18:11 pho Exp $
 
 BLAKE2s (isocline-1.0.9.tar.gz) = abf9645667f403f34927b50d4534ddb3b5fe86404d76a490646720dc9e8fa1df
 SHA512 (isocline-1.0.9.tar.gz) = 0bc1a4b2ad217e1e3b270eeab51b18b4d0f5534fb8759daed4b699f2a56628f4a18d909862abed5c949f671ed746855a6de508ee23f3d93ffbff5a8525db1a47
 Size (isocline-1.0.9.tar.gz) = 101834 bytes
+SHA1 (patch-isocline.cabal) = 8b60331c0b540d28cfc0d5d93a35527362a22889

Added files:

Index: pkgsrc/devel/hs-isocline/patches/patch-isocline.cabal
diff -u /dev/null pkgsrc/devel/hs-isocline/patches/patch-isocline.cabal:1.1
--- /dev/null   Thu Nov  2 01:18:11 2023
+++ pkgsrc/devel/hs-isocline/patches/patch-isocline.cabal       Thu Nov  2 01:18:11 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-isocline.cabal,v 1.1 2023/11/02 01:18:11 pho Exp $
+
+Do not build or install the example executable. We don't want it in pkgsrc.
+
+--- isocline.cabal.orig        2023-11-02 01:16:41.074512957 +0000
++++ isocline.cabal
+@@ -72,6 +72,7 @@ library
+   default-language: Haskell2010
+ 
+ executable example
++  buildable: False
+   main-is: Example.hs
+   other-modules:
+       Paths_isocline



Home | Main Index | Thread Index | Old Index