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