1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/procps/procps.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # for the curses header directory
13 var_append makeopt ' ' "DESTDIR=$root"
15 atstage native || hook_add preconf 5 "echo 'ac_cv_func_malloc_0_nonnull=yes
16 ac_cv_func_realloc_0_nonnull=yes' >> config.cache"
18 # we prefer the coreutils kill ...
19 var_append confopt ' ' '--disable-kill --disable-modern-top'
21 hook_add premake 5 "grep ac_cv_func_pidfd_open=.*yes config.cache &&
22 echo '#define HAVE_PIDFD_OPEN 1' >> config.h || true"
24 var_append makeinstopt ' ' 'ldconfig=true'