pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/hoogle net/hoogle: Link hoogle with static Haskell...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93b3cd21d8b7
branches:  trunk
changeset: 374751:93b3cd21d8b7
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 07:13:07 2022 +0000

description:
net/hoogle: Link hoogle with static Haskell libraries

diffstat:

 net/hoogle/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 6602f3729cfd -r 93b3cd21d8b7 net/hoogle/Makefile
--- a/net/hoogle/Makefile       Sat Feb 26 07:06:17 2022 +0000
+++ b/net/hoogle/Makefile       Sat Feb 26 07:13:07 2022 +0000
@@ -1,14 +1,21 @@
-# $NetBSD: Makefile,v 1.5 2022/02/26 03:58:19 pho Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/26 07:13:07 pho Exp $
 
 DISTNAME=      hoogle-5.0.18.3
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    net
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Haskell API Search
 LICENSE=       modified-bsd
 
+# If hoogle is to be linked dynamically, it will depend on more than 160
+# shared objects and the dynamic linker will spend more than a second to
+# resolve symbols on startup. This is unacceptable because hoogle 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
+
 .include "../../converters/hs-aeson/buildlink3.mk"
 .include "../../textproc/hs-blaze-html/buildlink3.mk"
 .include "../../textproc/hs-blaze-markup/buildlink3.mk"



Home | Main Index | Thread Index | Old Index