cvsps2: fix CFLAGS/LDFLAGS.
This commit is contained in:
parent
c7c0f684dc
commit
3cb2ebb107
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cvsps2'
|
||||
pkgname=cvsps2
|
||||
version=2.1
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc=cvsps-${version}
|
||||
build_style=gnu-makefile
|
||||
makedepends="zlib-devel"
|
||||
|
@ -14,6 +14,8 @@ checksum=91d3198b33463861a581686d5fcf99a5c484e7c4d819384c04fda9cafec1075a
|
|||
|
||||
post_extract() {
|
||||
sed -i 's/linux/__GLIBC__/g' cbtcommon/text_util.c
|
||||
sed -i 's/CFLAGS+=/override &/' Makefile
|
||||
sed -i 's/ -lz/ $(LDFLAGS) &/' Makefile
|
||||
}
|
||||
do_install() {
|
||||
make install prefix=$DESTDIR/usr
|
||||
|
|
Loading…
Reference in New Issue