mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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:
parent
e40a53e67d
commit
cece14281b
5 changed files with 0 additions and 13 deletions
|
@ -53,7 +53,6 @@
|
||||||
# basename of the ruby distribution tarball.
|
# basename of the ruby distribution tarball.
|
||||||
# RUBY_PATCHFILES - PATCHFILES for the standard ruby ports, i.e. the
|
# RUBY_PATCHFILES - PATCHFILES for the standard ruby ports, i.e. the
|
||||||
# basename of the ruby distribution tarball.
|
# basename of the ruby distribution tarball.
|
||||||
# RUBY_WRKSRC - WRKSRC for the ruby port.
|
|
||||||
# MASTER_SITE_SUBDIR_RUBY - MASTER_SITE_SUBDIR for the ruby distfiles.
|
# MASTER_SITE_SUBDIR_RUBY - MASTER_SITE_SUBDIR for the ruby distfiles.
|
||||||
#
|
#
|
||||||
# RUBY_SHLIBVER - Major version of libruby (see below for current
|
# 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
|
||||||
. endif
|
. endif
|
||||||
|
|
||||||
RUBY_WRKSRC= ${WRKDIR}/ruby-${RUBY_DISTVERSION}
|
|
||||||
|
|
||||||
RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \
|
RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \
|
||||||
--with-rubylibprefix="${PREFIX}/lib/ruby" \
|
--with-rubylibprefix="${PREFIX}/lib/ruby" \
|
||||||
--docdir="${RUBY_DOCDIR}" \
|
--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}
|
MASTER_SITE_SUBDIR_RUBY?= ${RUBY_VER}
|
||||||
RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION}
|
RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION}
|
||||||
|
|
||||||
RUBY_WRKSRC?= ${WRKDIR}/${RUBY_DISTNAME}
|
|
||||||
|
|
||||||
RUBY_RELVERSION_CODE?= ${RUBY_RELVERSION:S/.//g}
|
RUBY_RELVERSION_CODE?= ${RUBY_RELVERSION:S/.//g}
|
||||||
RUBY_VERSION_CODE?= ${RUBY_VERSION:S/.//g}
|
RUBY_VERSION_CODE?= ${RUBY_VERSION:S/.//g}
|
||||||
RUBY_VER= ${RUBY_VERSION:C/([[:digit:]]+\.[[:digit:]]+).*/\1/}
|
RUBY_VER= ${RUBY_VERSION:C/([[:digit:]]+\.[[:digit:]]+).*/\1/}
|
||||||
|
|
|
@ -48,8 +48,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
|
||||||
--exclude ${DISTNAME}/man/ri.1 \
|
--exclude ${DISTNAME}/man/ri.1 \
|
||||||
--no-same-owner --no-same-permissions
|
--no-same-owner --no-same-permissions
|
||||||
|
|
||||||
WRKSRC= ${RUBY_WRKSRC}
|
|
||||||
|
|
||||||
RUBY_VER= 3.2
|
RUBY_VER= 3.2
|
||||||
|
|
||||||
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT
|
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT
|
||||||
|
|
|
@ -47,8 +47,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
|
||||||
--exclude ${DISTNAME}/man/ri.1 \
|
--exclude ${DISTNAME}/man/ri.1 \
|
||||||
--no-same-owner --no-same-permissions
|
--no-same-owner --no-same-permissions
|
||||||
|
|
||||||
$RKSRC= ${RUBY_WRKSRC}
|
|
||||||
|
|
||||||
RUBY_VER= 3.3
|
RUBY_VER= 3.3
|
||||||
|
|
||||||
EXTDOCS= ripper/README stringio/README.md syslog/syslog.txt
|
EXTDOCS= ripper/README stringio/README.md syslog/syslog.txt
|
||||||
|
|
|
@ -49,8 +49,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
|
||||||
--exclude ${DISTNAME}/sample/win32ole \
|
--exclude ${DISTNAME}/sample/win32ole \
|
||||||
--no-same-owner --no-same-permissions
|
--no-same-owner --no-same-permissions
|
||||||
|
|
||||||
WRKSRC= ${RUBY_WRKSRC}
|
|
||||||
|
|
||||||
RUBY_VER= 3.4
|
RUBY_VER= 3.4
|
||||||
|
|
||||||
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT
|
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT
|
||||||
|
|
|
@ -50,8 +50,6 @@ EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \
|
||||||
--exclude ${DISTNAME}/sample/win32ole \
|
--exclude ${DISTNAME}/sample/win32ole \
|
||||||
--no-same-owner --no-same-permissions
|
--no-same-owner --no-same-permissions
|
||||||
|
|
||||||
WRKSRC= ${RUBY_WRKSRC}
|
|
||||||
|
|
||||||
RUBY_VER= 3.5
|
RUBY_VER= 3.5
|
||||||
|
|
||||||
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT
|
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC YJIT
|
||||||
|
|
Loading…
Add table
Reference in a new issue