texi2mdoc: pass LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-24 16:52:00 +02:00
parent 9dd572b16a
commit cacf9bf811
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'texi2mdoc' # Template file for 'texi2mdoc'
pkgname=texi2mdoc pkgname=texi2mdoc
version=0.1.2 version=0.1.2
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
short_desc="Convert Texinfo documentation into man pages (mdoc)" short_desc="Convert Texinfo documentation into man pages (mdoc)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -10,6 +10,9 @@ 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
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
}
do_install() { do_install() {
vbin texi2mdoc vbin texi2mdoc
vman texi2mdoc.1 vman texi2mdoc.1