From nobody Mon Jan 22 20:27:19 2024 X-Original-To: dev-commits-ports-main@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 4TJhbX34nFz588sm; Mon, 22 Jan 2024 20:27:20 +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 4TJhbX09xGz49fq; Mon, 22 Jan 2024 20:27:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705955240; 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=GMYVX1166poHZPYMH+quGRMvAdrbSlN5GBz/l567UVI=; b=cLvYQ1o5l7tf7HCVI/UBWZWvrIJnGMPA0KJDspnIiAkYu79m7lzayxzjkBjWniySGewE/G kq9NmSqgDyJ4qyWbAfCnr+b5fZ/HGQl1yJhj0neccctPCcgV6/rE6m+fRu7t7RkTagD7AB XmYF8rm55xYWK3acFCCM0NdZd3xW3NKL+JCTLcMCiN7fRAWcBX4GPZBLhqWnimeTKQ6ZPr N+OZ54FyA2rfcWXHEs4Dda90HxAMHixMFk9jGm3RQJZdmR52xpdKdn/IRsP8jU9go3trLN 82rKtsT3aDyjfZ+oG4K2lhDdPFumCL767cs8BS6RhJ78oyTjw9ngafLpMRR4jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705955240; 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=GMYVX1166poHZPYMH+quGRMvAdrbSlN5GBz/l567UVI=; b=rOu+m4d4F8sFFmJZc4KNl7QoCMu8LRIlwrhE5RetCqPF5gMqERWj6JJdzaRCQmD0vJQeCN JPMOtyl1OdJbmUFwhskKUDpqw/r/jIoMNbFb1zjo07bWbvD/s8CIIgdQj0QydbSBbzqN4y Oaycq6xPJN9/qScm9utGLZdZBbBppFME56ECxL3Y5swnJig/KrkU6Qfm454laZXqMdvNEs b95lsiKknnZUDs24MeJdlcRhq4oqE/yK68s8MdMfPgSFOuQTa91OFHC1X2FU+Zql4qVfyr 7hZSREdu06kuR3TVsZ1b8HtBbuizSd5gO2u33FmOskPU5AYOiaZlIiMz64pE7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705955240; a=rsa-sha256; cv=none; b=wazAQF5LYHtOfU13O/bo+1GbYYTLV+IcEtAklYWEYYvbMi64fZC4L9mG2YdzuQzI0vPx6x s7096m0SZ9tHkSqSfVETmTUwW0wTjjUBf/BnsUFYKGDzQzlQNvmIZdJRHVKhLA8k75dx/u ouce71Lzt29vZZVo1FEGGZOmEoSCxug82IlQ/TFTY8aLD4puLGAfGpfnKiprcTL2kfHXtz ZptlAF4+N9GMzklzI8g4pZL7HnNMPm2hLudVpYXoE1pwv890udAQX7TvQ/bG3gNu4pnWVO 5lhTAmeFqTM42gLtF51nFaIB8HtzLx6GXMfX58I/eCzjOCWrqK8/I7uD728WDQ== 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 4TJhbW6Gspz1GLB; Mon, 22 Jan 2024 20:27:19 +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 40MKRJjf012395; Mon, 22 Jan 2024 20:27:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40MKRJHW012393; Mon, 22 Jan 2024 20:27:19 GMT (envelope-from git) Date: Mon, 22 Jan 2024 20:27:19 GMT Message-Id: <202401222027.40MKRJHW012393@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: 2fc921f1038d - main - lang/ruby30: Sanitize MANPREFIX List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 2fc921f1038d8f81dbb3a0d52135e886e7647e08 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fc921f1038d8f81dbb3a0d52135e886e7647e08 commit 2fc921f1038d8f81dbb3a0d52135e886e7647e08 Author: Muhammad Moinur Rahman AuthorDate: 2024-01-22 18:21:05 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-01-22 20:26:39 +0000 lang/ruby30: Sanitize MANPREFIX Approved by: portmgr (blanket) --- lang/ruby30/Makefile | 3 ++- lang/ruby30/pkg-plist | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/ruby30/Makefile b/lang/ruby30/Makefile index 99a953ad0273..bd4f07adb06e 100644 --- a/lang/ruby30/Makefile +++ b/lang/ruby30/Makefile @@ -37,6 +37,7 @@ CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" CONFIGURE_ENV= debugflags= GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share # Keep this, else ruby will fail to load libraries dependent of libpthread. LIBS+= -lpthread USE_LDCONFIG= yes @@ -174,7 +175,7 @@ post-install: # Link "ruby.1.gz" to "ruby30.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/ruby30/pkg-plist b/lang/ruby30/pkg-plist index 6cc84a998900..31568f8a8adc 100644 --- a/lang/ruby30/pkg-plist +++ b/lang/ruby30/pkg-plist @@ -986,8 +986,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