From nobody Mon Nov 1 13:48:43 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EE632183A524; Mon, 1 Nov 2021 13:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjZBT124yz4m0S; Mon, 1 Nov 2021 13:48:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 26FAE12A8C; Mon, 1 Nov 2021 13:48:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1Dmhf9053191; Mon, 1 Nov 2021 13:48:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1Dmhr0053190; Mon, 1 Nov 2021 13:48:43 GMT (envelope-from git) Date: Mon, 1 Nov 2021 13:48:43 GMT Message-Id: <202111011348.1A1Dmhr0053190@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 9c7833b38909 - main - lang/ruby27: Use proper variables, RUBY_SHLIBVER and RUBY_SUFFIX List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c7833b3890910322c378d61a77aa95ac33f13f1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c7833b3890910322c378d61a77aa95ac33f13f1 commit 9c7833b3890910322c378d61a77aa95ac33f13f1 Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 13:30:26 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-01 13:42:21 +0000 lang/ruby27: Use proper variables, RUBY_SHLIBVER and RUBY_SUFFIX --- lang/ruby27/Makefile | 2 +- lang/ruby27/pkg-plist | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lang/ruby27/Makefile b/lang/ruby27/Makefile index 958018f91f76..9bb23502ef61 100644 --- a/lang/ruby27/Makefile +++ b/lang/ruby27/Makefile @@ -113,7 +113,7 @@ MAKE_JOBS_UNSAFE= yes .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} PLIST_SUB+= IF_DEFAULT="" .else -PKGNAMESUFFIX= ${RUBY_VER:C/\.//} +PKGNAMESUFFIX= ${RUBY_SUFFIX} PLIST_SUB+= IF_DEFAULT="@comment " .endif diff --git a/lang/ruby27/pkg-plist b/lang/ruby27/pkg-plist index 0c19c44cf329..e7f1bf54f25a 100644 --- a/lang/ruby27/pkg-plist +++ b/lang/ruby27/pkg-plist @@ -32,9 +32,9 @@ include/ruby-%%RUBY_VER%%/ruby/thread_native.h include/ruby-%%RUBY_VER%%/ruby/util.h include/ruby-%%RUBY_VER%%/ruby/version.h include/ruby-%%RUBY_VER%%/ruby/vm.h -lib/lib%%RUBY_NAME%%-static.a -lib/lib%%RUBY_NAME%%.so -lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%% +lib/libruby%%RUBY_SHLIBVER%%-static.a +lib/libruby%%RUBY_SHLIBVER%%.so +lib/libruby%%RUBY_SHLIBVER%%.so.%%RUBY_SHLIBVER%% %%RUBY_LIBDIR%%/English.rb %%RUBY_LIBDIR%%/abbrev.rb %%RUBY_ARCHLIBDIR%%/bigdecimal.so