diff --git a/srcpkgs/lshw/template b/srcpkgs/lshw/template index 5de00813ee1..bc8aa502e74 100644 --- a/srcpkgs/lshw/template +++ b/srcpkgs/lshw/template @@ -1,7 +1,7 @@ # Template build file for 'lshw'. pkgname=lshw version=B.02.18 -revision=4 +revision=5 makedepends="gtk+-devel libglade-devel sqlite-devel" hostmakedepends="docbook2x pkg-config" short_desc="Hardware lister application" @@ -17,8 +17,9 @@ do_build() { find . -type f -exec sed -i "{}" -e "s;__uint;uint;g" \; ;; esac - sed -i 's,CXXFLAGS=,CXXFLAGS += ,g' src/Makefile - make CC=$CC CXX=$CXX PREFIX=/usr SBINDIR=/usr/bin ${makejobs} + sed -i 's,CXXFLAGS=,CXXFLAGS += ,g; s,LDFLAGS=,LDFLAGS += ,g' \ + src/Makefile src/gui/Makefile + make CC=$CC CXX=$CXX PREFIX=/usr SBINDIR=/usr/bin ${makejobs} all gui } do_install() { make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install install-gui