Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 16:19:10 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7607569cc5f0 - main - devel/ruby-gems: Rename GEMS_VER_DIR to GEMS_BASE_DIR which matches Mk/Uses/gem.mk
Message-ID:  <202107141619.16EGJAvA011764@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7607569cc5f0bb9aa2769c9173f6229b9cace822

commit 7607569cc5f0bb9aa2769c9173f6229b9cace822
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-14 16:02:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-14 16:10:40 +0000

    devel/ruby-gems: Rename GEMS_VER_DIR to GEMS_BASE_DIR which matches Mk/Uses/gem.mk
---
 devel/ruby-gems/Makefile | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile
index 11d27f926763..25778e0c4406 100644
--- a/devel/ruby-gems/Makefile
+++ b/devel/ruby-gems/Makefile
@@ -19,18 +19,18 @@ LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE.txt
 USES=		tar:tgz
 USE_RUBY=	yes
 
-GEMS_VER_DIR=	lib/ruby/gems/${RUBY_VER}
-GEMS_ENV=	DONT_USE_BUNDLER_FOR_GEMDEPS=true GEM_HOME=${STAGEDIR}${PREFIX}/${GEMS_VER_DIR}
+GEMS_BASE_DIR=	lib/ruby/gems/${RUBY_VER}
+GEMS_ENV=	DONT_USE_BUNDLER_FOR_GEMDEPS=true GEM_HOME=${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}
 NO_ARCH=	yes
 NO_BUILD=	yes
 RUBY_SETUP=	setup.rb
 RUBY_SETUP_OPTIONS=	--destdir=${STAGEDIR} --no-regenerate-binstubs
 
-CACHE_DIR=	${GEMS_VER_DIR}/cache
-DOC_DIR=	${GEMS_VER_DIR}/doc
-EXT_DIR=	${GEMS_VER_DIR}/extensions
-GEMS_DIR=	${GEMS_VER_DIR}/gems
-SPEC_DIR=	${GEMS_VER_DIR}/specifications
+CACHE_DIR=	${GEMS_BASE_DIR}/cache
+DOC_DIR=	${GEMS_BASE_DIR}/doc
+EXT_DIR=	${GEMS_BASE_DIR}/extensions
+GEMS_DIR=	${GEMS_BASE_DIR}/gems
+SPEC_DIR=	${GEMS_BASE_DIR}/specifications
 
 PLIST_SUB=	GEMS_DIR="${GEMS_DIR}" \
 		DOC_DIR="${DOC_DIR}" \
@@ -43,8 +43,8 @@ OPTIONS_DEFINE=	DOCS
 DOCS_VARS_OFF=	RUBY_SETUP_OPTIONS+="--no-ri --no-rdoc"
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${GEMS_VER_DIR}
-	${MKDIR} ${STAGEDIR}${PREFIX}/${GEMS_VER_DIR}/build_info
+	${MKDIR} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}
+	${MKDIR} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info
 	${MKDIR} ${STAGEDIR}${PREFIX}/${CACHE_DIR}
 	${MKDIR} ${STAGEDIR}${PREFIX}/${DOC_DIR}
 	${MKDIR} ${STAGEDIR}${PREFIX}/${EXT_DIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107141619.16EGJAvA011764>