git: cbef135749e7 - main - lang/ruby31: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 20:27:18 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbef135749e78bd37090778f798a3940ac0d0c1c commit cbef135749e78bd37090778f798a3940ac0d0c1c Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-22 18:17:34 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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