latencytop: obey our LDFLAGS

This commit is contained in:
Toyam Cox 2016-06-19 13:19:48 -04:00
parent 4ddde4827e
commit e3cd6e9296
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'latencytop' # Template file for 'latencytop'
pkgname=latencytop pkgname=latencytop
version=0.5 version=0.5
revision=3 revision=4
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="gtk+-devel ncurses-devel" makedepends="gtk+-devel ncurses-devel"
@ -12,6 +12,10 @@ homepage="http://www.latencytop.org"
distfiles="${DEBIAN_SITE}/main/l/$pkgname/${pkgname}_${version}.orig.tar.gz" distfiles="${DEBIAN_SITE}/main/l/$pkgname/${pkgname}_${version}.orig.tar.gz"
checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() { do_install() {
vmkdir usr/bin vmkdir usr/bin
make DESTDIR=$PKGDESTDIR SBINDIR=/usr/bin install make DESTDIR=$PKGDESTDIR SBINDIR=/usr/bin install