commit: c54bb93fd56acecbee47e0126019df980000a983 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Fri May 6 16:25:31 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Fri May 6 16:25:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c54bb93f
octaveforge.eclass: install arch dependent files in libdir Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> eclass/octaveforge.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/octaveforge.eclass b/eclass/octaveforge.eclass index 7f5f38dee..022d89b33 100644 --- a/eclass/octaveforge.eclass +++ b/eclass/octaveforge.eclass @@ -125,12 +125,12 @@ octaveforge_src_install() { " oct_pkgdir=$(octavecommand "${cmd}${stripcmd}" || die) else - cmd="disp(fullfile(OCTAVE_HOME(),'share','octave'));" + cmd="disp(fullfile(__octave_config_info__('sharedir'),'octave'));" shareprefix=${DESTDIR}/$(octavecommand "${cmd}" || die) - cmd="disp(fullfile(__octave_config_info__('libexecdir'),'octave'));" - libexecprefix=${DESTDIR}/$(octavecommand "${cmd}" || die) + cmd="disp(fullfile(__octave_config_info__('libdir'),'octave'));" + libprefix=${DESTDIR}/$(octavecommand "${cmd}" || die) octprefix="${shareprefix}/packages" || die - archprefix="${libexecprefix}/packages" || die + archprefix="${libprefix}/packages" || die if [[ ! -e "${octprefix}" ]]; then mkdir -p "${octprefix}" || die fi