chuck: fix build after auto-create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-24 08:47:24 +07:00
parent 7e1464d01b
commit 94fe74e506
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
pkgname=chuck
version=1.4.1.1
revision=1
create_wrksrc=yes
build_wrksrc=src
build_style=gnu-makefile
make_use_env=yes
@ -18,6 +19,7 @@ checksum=4459ee6f151da72dcde1525e0afe05329d61086356b168ecfc0bc3a570290f63
post_extract() {
mv chuck-${version}/* .
# use CC, CXX and LD from environment
vsed -e '/^CC=/d' -e '/^CXX=/d' -e '/^LD=/d' -i src/makefile -i src/core/makefile
# fix parallel builds for make in sub directories