commit: d7b8e166cf99a7bf0d1cfe8037239611ee7eccfd Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Sun Dec 26 13:02:52 2021 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Sun Dec 26 13:03:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b8e166
sys-cluster/singularity: support Prefix. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> sys-cluster/singularity/singularity-3.8.5.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys-cluster/singularity/singularity-3.8.5.ebuild b/sys-cluster/singularity/singularity-3.8.5.ebuild index 8e6b0570d888..cc6fc804f1fb 100644 --- a/sys-cluster/singularity/singularity-3.8.5.ebuild +++ b/sys-cluster/singularity/singularity-3.8.5.ebuild @@ -36,10 +36,10 @@ src_configure() { -x "$(tc-getBUILD_CXX)" \ -C "$(tc-getCC)" \ -X "$(tc-getCXX)" \ - --prefix=/usr \ - --sysconfdir=/etc \ - --runstatedir=/run \ - --localstatedir=/var \ + --prefix="${EPREFIX}"/usr \ + --sysconfdir="${EPREFIX}"/etc \ + --runstatedir="${EPREFIX}"/run \ + --localstatedir="${EPREFIX}"/var \ $(usex network "" "--without-network") \ $(usex suid "" "--without-suid") ) @@ -51,7 +51,7 @@ src_compile() { } src_install() { - emake DESTDIR="${ED}" -C builddir install + emake DESTDIR="${D}" -C builddir install keepdir /var/singularity/mnt/session # As of version 3.5.3 this seems to be very much broken, affecting