diff --git a/srcpkgs/hardinfo/template b/srcpkgs/hardinfo/template index 087687bfa06..378925a2318 100644 --- a/srcpkgs/hardinfo/template +++ b/srcpkgs/hardinfo/template @@ -1,10 +1,11 @@ # Template file for 'hardinfo' pkgname=hardinfo version=0.5.1 -revision=13 -build_style=gnu-configure +revision=14 +build_style=configure +configure_args="--prefix=/usr" hostmakedepends="pkg-config which" -makedepends="gtk+-devel libsoup-devel desktop-file-utils" +makedepends="gtk+-devel desktop-file-utils" depends="desktop-file-utils" short_desc="System information and benchmark tool" maintainer="Orphaned " @@ -23,6 +24,7 @@ post_patch() { vsed -i -e "s|^CC =.*|CC = $CC|" \ -e "s|^CCSLOW =.*|CCSLOW = $CC -O0|" \ -e "s|-o hardinfo|$LDFLAGS &|" \ + -e '1i GTK_LIBS += -lgmodule-2.0 -lm' \ Makefile.in vsed -i -e "s|^LIBDIR=.*|LIBDIR=/usr/lib${XBPS_TARGET_WORDSIZE}|" \ -e "s|^PROC=.*|PROC=$_arch|" \