diff options
author | Peter Wang <novalazy@gmail.com> | 2013-04-24 17:40:43 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-04-24 17:40:43 -0300 |
commit | b32b8323849ba13ea2237a68142601a64cccab48 (patch) | |
tree | 4f4fba3e0276a360e87302563c69ca60f1fa7684 /office/pandoc/pandoc.SlackBuild | |
parent | 75ad59a3920daeff91b1d26c8429669755482a64 (diff) |
office/pandoc: Updated for version 1.11.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 |