Date: Mon, 22 Jan 2024 20:27:19 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2fc921f1038d - main - lang/ruby30: Sanitize MANPREFIX Message-ID: <202401222027.40MKRJHW012393@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fc921f1038d8f81dbb3a0d52135e886e7647e08 commit 2fc921f1038d8f81dbb3a0d52135e886e7647e08 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-22 18:21:05 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401222027.40MKRJHW012393>