summaryrefslogtreecommitdiff
path: root/converters/pandoc
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-02-26 07:06:17 +0000
committerpho <pho@pkgsrc.org>2022-02-26 07:06:17 +0000
commite476e99762560c03d11f7b8a7f80b715647e65e5 (patch)
tree4e19868161052638fa4a8097eddba36a266b7a07 /converters/pandoc
parent99fda1dd3a7d6b0e45e40a00b21d8bba4f149068 (diff)
downloadpkgsrc-e476e99762560c03d11f7b8a7f80b715647e65e5.tar.gz
converters/pandoc: Link pandoc with static Haskell libraries
Diffstat (limited to 'converters/pandoc')
-rw-r--r--converters/pandoc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/converters/pandoc/Makefile b/converters/pandoc/Makefile
index 370fe82c255..4743f19875d 100644
--- a/converters/pandoc/Makefile
+++ b/converters/pandoc/Makefile
@@ -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
@@ -14,6 +14,13 @@ LICENSE= gnu-gpl-v2
# 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 \