Mk/Uses/ruby.mk: Remove RUBY_WRKSRC

Currently it is only used to set WRKSRC in ruby
ports (lang/ruby3[2-5]). But it is unnecessary to set it explicitly as
default value of WRKSRC is same as that of RUBY_WRKSRC.
This commit is contained in:
Yasuhiro Kimura 2025-04-21 13:29:00 +09:00
parent e40a53e67d
commit cece14281b
5 changed files with 0 additions and 13 deletions

View file

@ -53,7 +53,6 @@
# basename of the ruby distribution tarball.
# RUBY_PATCHFILES - PATCHFILES for the standard ruby ports, i.e. the
# basename of the ruby distribution tarball.
# RUBY_WRKSRC - WRKSRC for the ruby port.
# MASTER_SITE_SUBDIR_RUBY - MASTER_SITE_SUBDIR for the ruby distfiles.
#
# RUBY_SHLIBVER - Major version of libruby (see below for current
@ -202,8 +201,6 @@ BROKEN= ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}}
. endif
. endif
RUBY_WRKSRC= ${WRKDIR}/ruby-${RUBY_DISTVERSION}
RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \
--with-rubylibprefix="${PREFIX}/lib/ruby" \
--docdir="${RUBY_DOCDIR}" \
@ -228,8 +225,6 @@ RUBY_PORTVERSION?= ${RUBY_DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\
MASTER_SITE_SUBDIR_RUBY?= ${RUBY_VER}
RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION}
RUBY_WRKSRC?= ${WRKDIR}/${RUBY_DISTNAME}
RUBY_RELVERSION_CODE?= ${RUBY_RELVERSION:S/.//g}
RUBY_VERSION_CODE?= ${RUBY_VERSION:S/.//g}
RUBY_VER= ${RUBY_VERSION:C/([[:digit:]]+\.[[:digit:]]+).*/\1/}

View file

@ -48,8 +48,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
--exclude ${DISTNAME}/man/ri.1 \
--no-same-owner --no-same-permissions
WRKSRC= ${RUBY_WRKSRC}
RUBY_VER= 3.2
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT

View file

@ -47,8 +47,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
--exclude ${DISTNAME}/man/ri.1 \
--no-same-owner --no-same-permissions
$RKSRC= ${RUBY_WRKSRC}
RUBY_VER= 3.3
EXTDOCS= ripper/README stringio/README.md syslog/syslog.txt

View file

@ -49,8 +49,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
--exclude ${DISTNAME}/sample/win32ole \
--no-same-owner --no-same-permissions
WRKSRC= ${RUBY_WRKSRC}
RUBY_VER= 3.4
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT

View file

@ -50,8 +50,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
--exclude ${DISTNAME}/sample/win32ole \
--no-same-owner --no-same-permissions
WRKSRC= ${RUBY_WRKSRC}
RUBY_VER= 3.5
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT