From 507744a7178766380575894e436365374ffaa342 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 27 Dec 2002 21:39:06 +0000 Subject: [PATCH] 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. --- Mk/bsd.ruby.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index aa3e7197a327..62c4c6efc0fe 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