diff options
Diffstat (limited to 'office/pandoc/pandoc.SlackBuild')
-rw-r--r-- | office/pandoc/pandoc.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild index dccae617d0a8d..c0853b106a851 100644 --- a/office/pandoc/pandoc.SlackBuild +++ b/office/pandoc/pandoc.SlackBuild @@ -6,7 +6,7 @@ # Public domain. PRGNAM=pandoc -VERSION=${VERSION:-1.9.4.2} +VERSION=${VERSION:-1.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,12 +54,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# --enable-executable-dynamic seems to only add the build directory to the +# rpath but not /usr/lib*/ghc-*/pandoc-*, so libHSpandoc cannot be loaded if +# the build directory is removed. For now, we build a static executable. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup.hs configure \ --prefix=/usr \ - --enable-shared \ - --enable-executable-dynamic \ --libdir=/usr/lib$LIBDIRSUFFIX \ --libsubdir=ghc-$GHC_VERSION/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION |