surf: unbreak and rebuild for musl.
This commit is contained in:
parent
c5ed3a11b4
commit
ef79ae8af3
1 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'surf'
|
||||
pkgname=surf
|
||||
version=0.6
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="webkitgtk2-devel"
|
||||
|
@ -12,7 +12,8 @@ homepage="http://surf.suckless.org"
|
|||
distfiles="http://dl.suckless.org/surf/$pkgname-$version.tar.gz"
|
||||
checksum=fdc1ccfaee5c4f008eeb8fe5f9200d3ad71296e8d7af52bdd6a771f111866805
|
||||
|
||||
pre_build() {
|
||||
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||
do_build() {
|
||||
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||
make CC=$CC ${makejobs}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue