mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
zerofree: respect our LDFLAGS
This commit is contained in:
parent
9e77363454
commit
2162d07f32
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zerofree'
|
# Template file for 'zerofree'
|
||||||
pkgname=zerofree
|
pkgname=zerofree
|
||||||
version=1.0.4
|
version=1.0.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="e2fsprogs-devel"
|
makedepends="e2fsprogs-devel"
|
||||||
short_desc="A tool to zero free blocks in an ext2 filesystem"
|
short_desc="A tool to zero free blocks in an ext2 filesystem"
|
||||||
|
@ -11,6 +11,10 @@ homepage="https://frippery.org/uml/index.html"
|
||||||
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
|
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
|
||||||
checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838
|
checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
}
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i "16i#include <sys/stat.h>" zerofree.c
|
sed -i "16i#include <sys/stat.h>" zerofree.c
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue