textproc/hs-pandoc: Try to unbreak on i386.
Turn off compiler optimizations on i386 as they require too much RAM. Reported by: pkg-fallout
This commit is contained in:
parent
82f9a8e69d
commit
dd0399efb0
1 changed files with 8 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue