surf: fix PIE
This commit is contained in:
parent
10b71ba640
commit
d28eb1732e
@ -1,7 +1,7 @@
|
||||
# Template file for 'surf'
|
||||
pkgname=surf
|
||||
version=0.7
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="webkitgtk2-devel"
|
||||
@ -15,6 +15,10 @@ checksum=95608546fb64d01c7a8153c356be0e284ebe120c3c596a94eb3f3ad47e1c494a
|
||||
do_build() {
|
||||
sed -i 's,/usr/include,,g;s,/usr/lib,,g' config.mk
|
||||
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-g|$LDFLAGS|g" config.mk
|
||||
make CC=$CC ${makejobs}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user