diff options
author | pho <pho@pkgsrc.org> | 2022-02-26 08:26:12 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2022-02-26 08:26:12 +0000 |
commit | 0d427fea51edd68a402d8d97e7d48703bac71907 (patch) | |
tree | d8cd0fa0715c6cb749e9d2759c4aa5163fc75f74 /devel | |
parent | 30bfbe156ae47490ba9c6c2bfa75ce304c56b6f7 (diff) | |
download | pkgsrc-0d427fea51edd68a402d8d97e7d48703bac71907.tar.gz |
devel/retrie: Link retrie with static Haskell libraries
Also generate shell completion scripts with optparse-applicative.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/retrie/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/devel/retrie/Makefile b/devel/retrie/Makefile index a8c8976fc58..ca65c5250a9 100644 --- a/devel/retrie/Makefile +++ b/devel/retrie/Makefile @@ -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 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 @@ LICENSE= mit .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" |