From 3a98d0aaceb0a39fc05504b661eb14826896a2ee Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 18 Aug 2003 03:41:58 +0000 Subject: Add RUBY18_ONLY to PLIST_SUB. --- Mk/bsd.ruby.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Mk') diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 9c8c73171d25..821162dedc2b 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -251,6 +251,12 @@ PLIST_SUB+= RUBY_VERSION="${RUBY_VERSION}" \ RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}" \ ${PLIST_RUBY_DIRS:S,DIR="${LOCALBASE}/,DIR=",} +.if ${RUBY_VER} >= 1.8 +PLIST_SUB+= RUBY18_ONLY="" +.else +PLIST_SUB+= RUBY18_ONLY="@comment " +.endif + # require check .if defined(RUBY_REQUIRE) USE_RUBY= yes -- cgit