pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/retrie devel/retrie: Link retrie with static Has...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05104553a754
branches: trunk
changeset: 374760:05104553a754
user: pho <pho%pkgsrc.org@localhost>
date: Sat Feb 26 08:26:12 2022 +0000
description:
devel/retrie: Link retrie with static Haskell libraries
Also generate shell completion scripts with optparse-applicative.
diffstat:
devel/retrie/Makefile | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r d0ab2186255f -r 05104553a754 devel/retrie/Makefile
--- a/devel/retrie/Makefile Sat Feb 26 08:18:42 2022 +0000
+++ b/devel/retrie/Makefile Sat Feb 26 08:26:12 2022 +0000
@@ -1,14 +1,26 @@
-# $NetBSD: Makefile,v 1.2 2022/02/26 03:58:13 pho Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/26 08:26:12 pho Exp $
DISTNAME= retrie-1.2.0.1
PKGNAME= ${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Powerful, easy-to-use codemodding tool for Haskell
LICENSE= mit
+# If retrie is to be linked dynamically, it will depend on more than 80
+# shared objects and the dynamic linker will spend too much time to resolve
+# symbols on startup. This is unacceptable because retrie tends to be
+# launched very frequently by editors and IDEs. This wastes storage, but
+# time is more expensive than disks.
+HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no
+
+# retrie is built with optparse-applicative, and can generate shell
+# completion scripts automatically.
+.include "../../devel/hs-optparse-applicative/application.mk"
+
+# lib:retrie
.include "../../devel/hs-ansi-terminal/buildlink3.mk"
.include "../../devel/hs-async/buildlink3.mk"
.include "../../devel/hs-data-default/buildlink3.mk"
@@ -18,7 +30,10 @@
.include "../../devel/hs-random-shuffle/buildlink3.mk"
.include "../../devel/hs-syb/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
+
+# exe:retrie
.include "../../devel/hs-ghc-paths/buildlink3.mk"
.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
+
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index