mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
sysstat: respect LDFLAGS.
This commit is contained in:
parent
b6120a5496
commit
3b60b1a2f6
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sysstat'
|
# Template file for 'sysstat'
|
||||||
pkgname=sysstat
|
pkgname=sysstat
|
||||||
version=11.1.5
|
version=11.1.5
|
||||||
revision=2
|
revision=3
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-install-isag --enable-copy-only --disable-file-attr
|
configure_args="--enable-install-isag --enable-copy-only --disable-file-attr
|
||||||
|
@ -21,6 +21,7 @@ post_extract() {
|
||||||
echo '#include <limits.h>' >>common.h
|
echo '#include <limits.h>' >>common.h
|
||||||
echo '#include <sys/sysmacros.h>' >>common.h
|
echo '#include <sys/sysmacros.h>' >>common.h
|
||||||
sed -i 's/lib64/lib/' configure
|
sed -i 's/lib64/lib/' configure
|
||||||
|
sed -i '/LFLAGS =/d; s/LFLAGS/LDFLAGS/g' Makefile.in
|
||||||
}
|
}
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
export conf_dir=/etc/default
|
export conf_dir=/etc/default
|
||||||
|
|
Loading…
Add table
Reference in a new issue