pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/pandoc



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Feb 26 07:06:17 UTC 2022

Modified Files:
        pkgsrc/converters/pandoc: Makefile

Log Message:
converters/pandoc: Link pandoc with static Haskell libraries


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/converters/pandoc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/pandoc/Makefile
diff -u pkgsrc/converters/pandoc/Makefile:1.7 pkgsrc/converters/pandoc/Makefile:1.8
--- pkgsrc/converters/pandoc/Makefile:1.7       Sat Feb 26 03:57:45 2022
+++ pkgsrc/converters/pandoc/Makefile   Sat Feb 26 07:06:17 2022
@@ -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 @@ 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 \



Home | Main Index | Thread Index | Old Index