mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
lshw: fix PIE.
This commit is contained in:
parent
c7f9795673
commit
0c2a0b8a4a
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'lshw'.
|
# Template build file for 'lshw'.
|
||||||
pkgname=lshw
|
pkgname=lshw
|
||||||
version=B.02.18
|
version=B.02.18
|
||||||
revision=4
|
revision=5
|
||||||
makedepends="gtk+-devel libglade-devel sqlite-devel"
|
makedepends="gtk+-devel libglade-devel sqlite-devel"
|
||||||
hostmakedepends="docbook2x pkg-config"
|
hostmakedepends="docbook2x pkg-config"
|
||||||
short_desc="Hardware lister application"
|
short_desc="Hardware lister application"
|
||||||
|
@ -17,8 +17,9 @@ do_build() {
|
||||||
find . -type f -exec sed -i "{}" -e "s;__uint;uint;g" \;
|
find . -type f -exec sed -i "{}" -e "s;__uint;uint;g" \;
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
sed -i 's,CXXFLAGS=,CXXFLAGS += ,g' src/Makefile
|
sed -i 's,CXXFLAGS=,CXXFLAGS += ,g; s,LDFLAGS=,LDFLAGS += ,g' \
|
||||||
make CC=$CC CXX=$CXX PREFIX=/usr SBINDIR=/usr/bin ${makejobs}
|
src/Makefile src/gui/Makefile
|
||||||
|
make CC=$CC CXX=$CXX PREFIX=/usr SBINDIR=/usr/bin ${makejobs} all gui
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install install-gui
|
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install install-gui
|
||||||
|
|
Loading…
Add table
Reference in a new issue