pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/pandoc converters/pandoc: Link pandoc with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6602f3729cfd
branches:  trunk
changeset: 374750:6602f3729cfd
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 26 07:06:17 2022 +0000

description:
converters/pandoc: Link pandoc with static Haskell libraries

diffstat:

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

diffs (28 lines):

diff -r 4d168b021e89 -r 6602f3729cfd converters/pandoc/Makefile
--- a/converters/pandoc/Makefile        Sat Feb 26 06:55:33 2022 +0000
+++ b/converters/pandoc/Makefile        Sat Feb 26 07:06:17 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2022/02/26 03:57:45 pho Exp $
+# $NetBSD: Makefile,v 1.8 2022/02/26 07:06:17 pho Exp $
 
 DISTNAME=      pandoc-2.17.1.1
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    converters
 
 MAINTAINER=    zecrazytux%zecrazytux.net@localhost
@@ -14,6 +14,13 @@
 # related to https://gitlab.haskell.org/ghc/ghc/issues/5642
 HASKELL_OPTIMIZATION_LEVEL=    1
 
+# If pandoc is to be linked dynamically, it will depend on more than 180
+# shared objects and the dynamic linker will spend several seconds to
+# resolve symbols on startup. This is unacceptable because pandoc tends to
+# be launched very frequently by build systems and editors. This wastes
+# storage, but time is more expensive than disks.
+HASKELL_ENABLE_DYNAMIC_EXECUTABLE=     no
+
 INSTALLATION_DIRS+=            ${PKGMANDIR}/man1
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/man/pandoc.1 \



Home | Main Index | Thread Index | Old Index