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:
parent
04d0fd7547
commit
0bf3aeb7a3
1 changed files with 4 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue