summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-12-27 21:39:06 +0000
committerknu <knu@FreeBSD.org>2002-12-27 21:39:06 +0000
commit4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea (patch)
tree719cb0a7af52343c196edb0a2620f7676f2a6190 /Mk/bsd.ruby.mk
parent9fcdcb89a45677a18e68161b9588fbc22ae798fa (diff)
downloadFreeBSD-ports-4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea.zip
FreeBSD-ports-4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea.tar.gz
Turn RUBY_NO_RD_HTML on by default on i386 also and add a RUBY_RD_HTML
option instead. ftp-master still has the old distfile of ruby-rdtool before a repack and the checksum mismatch it causes is getting a show stopper on bento.
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index aa3e719..62c4c6e 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -17,7 +17,7 @@ Ruby_Include_MAINTAINER= knu@FreeBSD.org
# RUBY_VER - (See below)
# RUBY_DEFAULT_VER - Set to (e.g.) "1.8" if you want to refer to "ruby18" just as "ruby".
# RUBY_ARCH - (See below)
-# RUBY_NO_RD_HTML - Define if you don't want HTML files generated from RD files.
+# RUBY_RD_HTML - Define if you want HTML files generated from RD files.
#
# [variables that each port can define]
#
@@ -400,14 +400,20 @@ RUN_DEPENDS+= ${DEPEND_RUBY_AMSTD}
# documents
-.if defined(NOPORTDOCS)
RUBY_NO_RD_HTML= yes
+
+.if defined(RUBY_RD_HTML)
+.undef RUBY_NO_RD_HTML
.endif
.if (${ARCH} == alpha || ${ARCH} == sparc64) && ${RUBY_VER} <= 1.6
RUBY_NO_RD_HTML= yes
.endif
+.if defined(NOPORTDOCS)
+RUBY_NO_RD_HTML= yes
+.endif
+
.if defined(RUBY_RD_FILES) && !defined(RUBY_NO_RD_HTML)
USE_RUBY_RDTOOL= yes
OpenPOWER on IntegriCloud