mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
texi2mdoc: add musl-legacy-compat for *musl
This commit is contained in:
parent
53911f38d9
commit
a3afd33a52
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ homepage="http://mdocml.bsd.lv/texi2mdoc"
|
||||||
distfiles="http://mdocml.bsd.lv/texi2mdoc/snapshots/${pkgname}-${version}.tgz"
|
distfiles="http://mdocml.bsd.lv/texi2mdoc/snapshots/${pkgname}-${version}.tgz"
|
||||||
checksum=7a45fd87c27cc8970a18db9ddddb2f09f18b8dd5152bf0ca377c3a5e7d304bfe
|
checksum=7a45fd87c27cc8970a18db9ddddb2f09f18b8dd5152bf0ca377c3a5e7d304bfe
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
makedepends+=" musl-legacy-compat"
|
||||||
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue