1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add RUBY18_ONLY to PLIST_SUB.

This commit is contained in:
Akinori MUSHA 2003-08-18 03:41:58 +00:00
parent 56abac5a91
commit ba61823a94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87168

View File

@ -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