docbook2mdoc: pass LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-25 13:15:57 +02:00
parent b14e36e577
commit fe635de6d1

View file

@ -1,7 +1,7 @@
# Template file for 'docbook2mdoc'
pkgname=docbook2mdoc
version=0.0.9
revision=1
revision=2
build_style=gnu-makefile
makedepends="expat-devel"
short_desc="A converter from DocBook V4.x and v5.x XML into mdoc"
@ -11,6 +11,7 @@ homepage="http://mdocml.bsd.lv/docbook2mdoc"
distfiles="http://mdocml.bsd.lv/docbook2mdoc/snapshots/${pkgname}-${version}.tgz"
checksum=93320aa42cbcc2a8e43aceff3ef97af83ba65a87c6e745aa37ae27f43440341e
pre_configure() {
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
sed -i 's,/man/man1,/share/man/man1,g' Makefile
}