Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/
Date: Fri, 06 May 2022 16:34:07
Message-Id: 1651854331.c54bb93fd56acecbee47e0126019df980000a983.Alessandro-Barbieri@gentoo
1 commit: c54bb93fd56acecbee47e0126019df980000a983
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Fri May 6 16:25:31 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Fri May 6 16:25:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c54bb93f
7
8 octaveforge.eclass: install arch dependent files in libdir
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 eclass/octaveforge.eclass | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/eclass/octaveforge.eclass b/eclass/octaveforge.eclass
16 index 7f5f38dee..022d89b33 100644
17 --- a/eclass/octaveforge.eclass
18 +++ b/eclass/octaveforge.eclass
19 @@ -125,12 +125,12 @@ octaveforge_src_install() {
20 "
21 oct_pkgdir=$(octavecommand "${cmd}${stripcmd}" || die)
22 else
23 - cmd="disp(fullfile(OCTAVE_HOME(),'share','octave'));"
24 + cmd="disp(fullfile(__octave_config_info__('sharedir'),'octave'));"
25 shareprefix=${DESTDIR}/$(octavecommand "${cmd}" || die)
26 - cmd="disp(fullfile(__octave_config_info__('libexecdir'),'octave'));"
27 - libexecprefix=${DESTDIR}/$(octavecommand "${cmd}" || die)
28 + cmd="disp(fullfile(__octave_config_info__('libdir'),'octave'));"
29 + libprefix=${DESTDIR}/$(octavecommand "${cmd}" || die)
30 octprefix="${shareprefix}/packages" || die
31 - archprefix="${libexecprefix}/packages" || die
32 + archprefix="${libprefix}/packages" || die
33 if [[ ! -e "${octprefix}" ]]; then
34 mkdir -p "${octprefix}" || die
35 fi