aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-03-01 13:54:33 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-03-01 13:54:33 +0000
commit07595dc53c7bdd6455d27981c98c9053f3250632 (patch)
tree6a6eb71581955aaa3d2afc68e6e5270e8c6d2f6c /lang/ghc
parent73b38d3e63df4910996b779010d9a836386371bc (diff)
downloadports-07595dc53c7bdd6455d27981c98c9053f3250632.tar.gz
ports-07595dc53c7bdd6455d27981c98c9053f3250632.zip
Notes
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 91eb73a7c045..9357b3779b2c 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -34,11 +34,16 @@ USE_GMAKE= yes
# You can view below.
GNU_CONFIGURE= yes
-OPTIONS= PROFILE "Compile for profiling as well" on \
- DOCS "Install HTML documentation" on
+OPTIONS= PROFILE "Compile for profiling as well" on
.include <bsd.port.pre.mk>
+.if ${ARCH} == "i386"
+OPTIONS+= DOCS "Install HTML documentation" on
+.else
+.undef WITH_DOCS
+.endif
+
.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif