1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

main/procps-ng: build with utmps

This is needed for the 'w' utility which uses utmp functions.
This commit is contained in:
Dmitry Klochkov 2025-05-15 20:50:44 +00:00 committed by Natanael Copa
parent 04d0fd7547
commit 0bf3aeb7a3

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=procps-ng
pkgver=4.0.4
pkgrel=2
pkgrel=3
pkgdesc="Utilities for monitoring your system and processes on your system"
url="https://gitlab.com/procps-ng/procps"
arch="all"
@ -12,6 +12,7 @@ makedepends="
gettext-dev
libtool
ncurses-dev
utmps-dev
"
checkdepends="dejagnu"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang libproc2"
@ -41,7 +42,8 @@ prepare() {
}
build() {
export LIBS="$LIBS -lintl"
export CFLAGS="$CFLAGS $(pkg-config --cflags libutmps)"
export LIBS="$LIBS -lintl $(pkg-config --libs libutmps)"
./configure \
--build=$CBUILD \
--host=$CHOST \