diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-03-26 15:37:42 +0100 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-03-26 16:16:37 +0100 |
commit | b133987ea9fa8f8f182dc0c504ba59b4a56b11f7 (patch) | |
tree | dfc24bb1c90acb3bb083956c82d7c8be8fc11a19 /dev-libs/memkind | |
parent | games-engines/fs2_open: Improved/added various dependencies (diff) | |
download | guru-b133987ea9fa8f8f182dc0c504ba59b4a56b11f7.tar.gz guru-b133987ea9fa8f8f182dc0c504ba59b4a56b11f7.tar.bz2 guru-b133987ea9fa8f8f182dc0c504ba59b4a56b11f7.zip |
dev-libs/memkind: chenges suggested by aammerlaan
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-libs/memkind')
-rw-r--r-- | dev-libs/memkind/memkind-1.13.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/memkind/memkind-1.13.0.ebuild b/dev-libs/memkind/memkind-1.13.0.ebuild index ac1b42959..cebc5a68a 100644 --- a/dev-libs/memkind/memkind-1.13.0.ebuild +++ b/dev-libs/memkind/memkind-1.13.0.ebuild @@ -46,7 +46,9 @@ pkg_pretend() { src_prepare() { default eautoreconf - cd jemalloc && eautoreconf + pushd jemalloc || die + eautoreconf + popd || die } src_configure() { @@ -78,6 +80,8 @@ src_install() { src_test() { addwrite /proc/sys/vm/nr_hugepages - echo 3000 > /proc/sys/vm/nr_hugepages + NR_HUGEPAGES_INITIAL="$(cat /proc/sys/vm/nr_hugepages)" || die + echo 3000 > /proc/sys/vm/nr_hugepages || die emake check + echo ${NR_HUGEPAGES_INITIAL} > /proc/sys/vm/nr_hugepages || die } |