diff options
author | knu <knu@FreeBSD.org> | 2002-12-28 05:39:06 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-12-28 05:39:06 +0800 |
commit | 4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea (patch) | |
tree | 719cb0a7af52343c196edb0a2620f7676f2a6190 /Mk/bsd.ruby.mk | |
parent | 9fcdcb89a45677a18e68161b9588fbc22ae798fa (diff) | |
download | freebsd-ports-gnome-4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea.tar.gz freebsd-ports-gnome-4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea.tar.zst freebsd-ports-gnome-4b2d01a8dbcd0eee44d65ddf1bf7ad1027b1e2ea.zip |
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.mk | 10 |
1 files 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 |