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