diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2021-04-27 13:17:11 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2021-04-27 13:18:25 +0000 |
commit | dd0399efb00ed11ec8f58f8f457719cd68e5b379 (patch) | |
tree | 1dda6f526e835fd46f62e9810a6f8ca025a4d524 /textproc/hs-pandoc | |
parent | 82f9a8e69d0ab329345e794cff7b313e64bb8c86 (diff) |
Diffstat (limited to 'textproc/hs-pandoc')
-rw-r--r-- | textproc/hs-pandoc/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/hs-pandoc/Makefile b/textproc/hs-pandoc/Makefile index e1a21ee6aacc..d761ad430996 100644 --- a/textproc/hs-pandoc/Makefile +++ b/textproc/hs-pandoc/Makefile @@ -155,6 +155,13 @@ EXECUTABLES= pandoc OPTIONS_SUB= yes +.include <bsd.port.pre.mk> + +.if ${ARCH} == i386 +# compiler goes out of memory +CABAL_FLAGS+= --disable-optimization +.endif + post-extract: ${RM} ${WRKSRC}/cabal.project @@ -163,4 +170,4 @@ post-install-EMBED_DATA-off: post-install: ${INSTALL_MAN} ${WRKSRC}/man/pandoc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |