From nobody Mon Jan 22 20:27:18 2024 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 4TJhbW0JRGz588fT; Mon, 22 Jan 2024 20:27:19 +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 4TJhbV65tyz49M0; Mon, 22 Jan 2024 20:27:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705955238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NwH+/hTciYstfR2wy5XTKP1x7PEaEdp02TxAo+nSFuo=; b=EwnIBVEgk197t5LaPt+WEJ6/Rw33wTvpcy6eLI9YPcIqfgsXCOf0X/B2hc2fe7s8twcMAo dCQYgz0/FSriyyer59ulsIbNQrc0p3Yspq1vHwCGstX6lbnVl7Gxmtq/Sq11GT0l4n2etK hahDEhjK0/IXmFbxHdIKFgaHE9c7PyojxkDvQnHHpynzlVzxNz/8tltIwcMIRmYQJfD9OZ tomz+Dx9efxcmVw/j03flejG2EjCi+NupH6AZvugwkszCChKXw9EjmUIIHW4Y9J4NcCgyT zpGi9cUUybLbmYy8Fq071uPm42fG//oWxZN03kKXaBtEpX3Ur0btag0ZjeGvJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705955238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NwH+/hTciYstfR2wy5XTKP1x7PEaEdp02TxAo+nSFuo=; b=YEv0/uT9wHqB0JJD8GtVFF/5JFpTlgCGu0UjhjOntEDcKIjkBjgI1oNTFUXnq+o/9kzpXF 6ru7qOvZbrJWqYLE2O/Efx0l37h8inQkLsNgEjre3g5wAU3XkU/wG4O/1WG73hlEFfaMsT L4PEsCYDapCDX/Y7UfM+yoM95M54MxMTwxnVjVNtRVSYtb5tRvxJRjme5oOocC53zTHzil LlBPKpqYGW7/61lI3NoD67hgKAue3z7nNCGeTChP9u+RLgVtPEkjL1wT3qAGf+rKQF9+ug 4NtsJq/jsf4tfCeH3fknwFuMsfwLKaRQCt+gKV16MYC/+rHKq7tvQQzPseH7pA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705955238; a=rsa-sha256; cv=none; b=SHl7lu9y/O3y0ecx2D/IPeWAp9OBGuUQgyQmbKCKgMmUesjl+vMN522G2smKwGmwms8CEU zQEsgzdhGG0cNGF3kBsjQZOBdkdU7nOoqizWgQHFSjpgPqYWdDiIyAXIMPNX+lPZIFNwrh s3YELMibhz1/yQXV9qWOEtNtwCqGtBCiEPOEaczRMSBI5+yD1DCoHrEz2/GmxD3vWPciVp UlDmVN1/1OYFzcV6kz+SOc7Fc1Nv8Q7iAtztM3d8G2NmydD1c0bJTJv45XoppfKv7rlFKR eOG8U8lXRk8bfD2/W70cxZjpmnTGQb1naN94cwpcmv9Kh8MJ3e9cAKSw52nsiw== 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 4TJhbV51SMz1G8X; Mon, 22 Jan 2024 20:27:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40MKRIBb012356; Mon, 22 Jan 2024 20:27:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40MKRIBr012353; Mon, 22 Jan 2024 20:27:18 GMT (envelope-from git) Date: Mon, 22 Jan 2024 20:27:18 GMT Message-Id: <202401222027.40MKRIBr012353@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: cbef135749e7 - main - lang/ruby31: Sanitize MANPREFIX 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cbef135749e78bd37090778f798a3940ac0d0c1c Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbef135749e78bd37090778f798a3940ac0d0c1c commit cbef135749e78bd37090778f798a3940ac0d0c1c Author: Muhammad Moinur Rahman AuthorDate: 2024-01-22 18:17:34 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-01-22 20:26:39 +0000 lang/ruby31: Sanitize MANPREFIX Approved by: portmgr (blanket) --- lang/ruby31/Makefile | 3 ++- lang/ruby31/pkg-plist | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/ruby31/Makefile b/lang/ruby31/Makefile index ab01c25e2010..750ad893b761 100644 --- a/lang/ruby31/Makefile +++ b/lang/ruby31/Makefile @@ -27,6 +27,7 @@ CPE_UPDATE= p${RUBY_PATCHLEVEL} USE_LDCONFIG= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --disable-rpath \ --enable-install-static-library \ @@ -168,7 +169,7 @@ post-install: # Link "ruby.1.gz" to "ruby31.1.gz", etc. # . for FILE in ${INSTALLED_MANUALS} - ${LN} -fs ${FILE}${RUBY_SUFFIX}.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/${FILE}.1.gz + ${LN} -fs ${FILE}${RUBY_SUFFIX}.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/${FILE}.1.gz . endfor .endif diff --git a/lang/ruby31/pkg-plist b/lang/ruby31/pkg-plist index 3f34529365dd..b7eed561866e 100644 --- a/lang/ruby31/pkg-plist +++ b/lang/ruby31/pkg-plist @@ -997,8 +997,8 @@ lib/libruby%%RUBY_SHLIBVER%%.so.%%RUBY_SHLIBVER%% %%RUBY_LIBDIR%%/yaml/dbm.rb %%RUBY_LIBDIR%%/yaml/store.rb libdata/pkgconfig/ruby-%%RUBY_VER%%.pc -%%IF_DEFAULT%%man/man1/ruby.1.gz -man/man1/ruby%%RUBY_SUFFIX%%.1.gz +%%IF_DEFAULT%%share/man/man1/ruby.1.gz +share/man/man1/ruby%%RUBY_SUFFIX%%.1.gz %%DOCS%%%%RUBY_DOCDIR%%/COPYING %%DOCS%%%%RUBY_DOCDIR%%/COPYING.ja %%DOCS%%%%RUBY_DOCDIR%%/ChangeLog