From nobody Mon Jan 22 20:27:17 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 4TJhbT6x30z588fN; Mon, 22 Jan 2024 20:27:17 +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 4TJhbT4rBHz49Z7; Mon, 22 Jan 2024 20:27:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705955237; 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=W1nGXCr2rJDY5kjireh75CW7EQCbaX8j4cz7RPSfU3M=; b=Wi1N1dPliYzL1tJM+Zo9/R23W4KJLUYXwzEdW6V3BMBsUAoHQlN1bg0mlIg5r6v+xyiU9w Ozleqm+iypgInOW1TP1uBURzTzNBHG8QLEX+cO87I/9YdkGZRxgw6eSLBWC149Ll6oOIn2 Z75l7Y8aWlzL0DHx4ca5jgxdukaHJk3t1NeTXIqj6xU8mVM4GNqMwTkToW6W3AMhW7dQAy 2bn/zFAsBX1ohyusR8FP+u7RokrkPyYq+vZu+DwP4Dp4L/QCvPds9MWzd4hfXVh3tvaXbA dAdPsDZFNpmgx3Yu7jY5PM8IsknYrSF0TZ/2pr1QzLNGJXtGJT4nnEP1C2zeSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705955237; 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=W1nGXCr2rJDY5kjireh75CW7EQCbaX8j4cz7RPSfU3M=; b=GnLvp5cJgWfP5+qRNEB9pf1Rr1+UDV7WGO2IMRjsLkT2j1u7KVzdrHuECH/28jnEt7RstM kf6RzLYUj/zp7sdA6TpRWO3WftjzTff8JFcQbf8Os4UzgbgWuhesdnR2daEsIYlbSEMxU5 h35B1IUNfoL8Lr6RGkUX5y08GHgefsM53lvK9+QDFqNa3ZCOfo+cLCPCy2T2vluFsppLhX h2uNhvGHsVPc/G0doxFjlHdQH+tybdovhnR7CmO/HhNzz7rdxOenQZatplAfGMVJo6qIL3 0EwEsKMV4G6l2oLL5OTPWQIXqEg8G2m+wu8U67PP/GKy8+Y9sEmKW7zgHUzTqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705955237; a=rsa-sha256; cv=none; b=Gj//f9LjgaUZknDQK/ZpBOzYffB7+v7K8iiIwJ/sSAMwmJvuNr3v3dZCrhZHyq9WRU2qUM 66pkMH9PL5xpWXZgUlnWY2RZYj6jc+FqIrI9aaTs9G9WYDsW9LZo5oeMKrI2ZXEzc/sAkZ Z8hOoCuM2ZjvxivSqom/qA4yZc+BKus1tam9ktT0NQriZ5+yXky0Nqbt9GOq87bw4GdON5 KeQN8OIAot+7AlYHCOCCF9rl5wwn6Wo0sJfhHBsQZhbtZrU9mFm8d3hQAdxVm48lm9Vr4T ZjWNJTyFN25PhLah+eWC4Y1gHWHLiXTnBrKtNjIk6qW3uugrqA+1z937J9e+Ng== 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 4TJhbT3xgFz1FXp; Mon, 22 Jan 2024 20:27:17 +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 40MKRHfs012317; Mon, 22 Jan 2024 20:27:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40MKRH07012314; Mon, 22 Jan 2024 20:27:17 GMT (envelope-from git) Date: Mon, 22 Jan 2024 20:27:17 GMT Message-Id: <202401222027.40MKRH07012314@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: c168dcf7b417 - main - lang/ruby32: 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: c168dcf7b417b922e76ef60b6950240616dba2bb Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c168dcf7b417b922e76ef60b6950240616dba2bb commit c168dcf7b417b922e76ef60b6950240616dba2bb Author: Muhammad Moinur Rahman AuthorDate: 2024-01-22 18:09:56 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-01-22 20:26:39 +0000 lang/ruby32: Sanitize MANPREFIX Approved by: portmgr (blanket) --- lang/ruby32/Makefile | 3 ++- lang/ruby32/pkg-plist | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/ruby32/Makefile b/lang/ruby32/Makefile index dde7e8ed88de..8464ce2fcc07 100644 --- a/lang/ruby32/Makefile +++ b/lang/ruby32/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 \ @@ -171,7 +172,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/ruby32/pkg-plist b/lang/ruby32/pkg-plist index 813d9e7a5e24..5ca7d9916bfd 100644 --- a/lang/ruby32/pkg-plist +++ b/lang/ruby32/pkg-plist @@ -1046,8 +1046,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