pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-lsp-types



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Nov  2 01:22:02 UTC 2023

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/hs-lsp-types/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-lsp-types/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-lsp-types/patches/patch-lsp-types.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-lsp-types/Makefile
diff -u pkgsrc/devel/hs-lsp-types/Makefile:1.7 pkgsrc/devel/hs-lsp-types/Makefile:1.8
--- pkgsrc/devel/hs-lsp-types/Makefile:1.7      Tue Oct 31 04:01:39 2023
+++ pkgsrc/devel/hs-lsp-types/Makefile  Thu Nov  2 01:22:02 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/10/31 04:01:39 pho Exp $
+# $NetBSD: Makefile,v 1.8 2023/11/02 01:22:02 pho Exp $
 
 DISTNAME=      lsp-types-2.0.2.0
 CATEGORIES=    devel
@@ -10,12 +10,6 @@ LICENSE=     mit
 HASKELL_UNRESTRICT_DEPENDENCIES+=      \
        aeson
 
-# Don't build or install the executable "generator".
-SUBST_CLASSES+=                exe
-SUBST_STAGE.exe=       post-extract
-SUBST_FILES.exe=       lsp-types.cabal
-SUBST_SED.exe=         -e '/^executable generator/a\${.newline}  buildable: False'
-
 # lib:lsp-types
 .include "../../converters/hs-aeson/buildlink3.mk"
 .include "../../devel/hs-data-default/buildlink3.mk"

Index: pkgsrc/devel/hs-lsp-types/distinfo
diff -u pkgsrc/devel/hs-lsp-types/distinfo:1.3 pkgsrc/devel/hs-lsp-types/distinfo:1.4
--- pkgsrc/devel/hs-lsp-types/distinfo:1.3      Tue Oct 31 04:01:39 2023
+++ pkgsrc/devel/hs-lsp-types/distinfo  Thu Nov  2 01:22:02 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2023/10/31 04:01:39 pho Exp $
+$NetBSD: distinfo,v 1.4 2023/11/02 01:22:02 pho Exp $
 
 BLAKE2s (lsp-types-2.0.2.0.tar.gz) = 7e2947b704a0feeb06a18940ad198e3ed2d9cf760af5d24f2490251a455df051
 SHA512 (lsp-types-2.0.2.0.tar.gz) = f6c14efddd2d514edc52c033182a8d659f197002538189936050d42d7dde62f5351efe315d939443e45a061296af6c46cae550038e537fda41019903755fdd4f
 Size (lsp-types-2.0.2.0.tar.gz) = 219603 bytes
+SHA1 (patch-lsp-types.cabal) = ea86a9acbdaded83ce516039b2b05b4fcb4847b6
 SHA1 (patch-src_Language_LSP_Protocol_Types_Common.hs) = 83cb285a4bce4a141099a9243f76cfbd744bf43c

Added files:

Index: pkgsrc/devel/hs-lsp-types/patches/patch-lsp-types.cabal
diff -u /dev/null pkgsrc/devel/hs-lsp-types/patches/patch-lsp-types.cabal:1.1
--- /dev/null   Thu Nov  2 01:22:02 2023
+++ pkgsrc/devel/hs-lsp-types/patches/patch-lsp-types.cabal     Thu Nov  2 01:22:02 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-lsp-types.cabal,v 1.1 2023/11/02 01:22:02 pho Exp $
+
+Do not build or install the example executable. We don't want it in pkgsrc.
+
+--- lsp-types.cabal.orig       2023-11-02 01:20:52.562926385 +0000
++++ lsp-types.cabal
+@@ -535,6 +535,7 @@ library metamodel
+     , text
+ 
+ executable generator
++  buildable:          False
+   hs-source-dirs:     generator
+   default-language:   Haskell2010
+   default-extensions: StrictData



Home | Main Index | Thread Index | Old Index