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:
parent
56abac5a91
commit
ba61823a94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87168
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user