From fe635de6d17affba34815acc3ed41cf27ca17bf7 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 25 May 2016 13:15:57 +0200 Subject: [PATCH] docbook2mdoc: pass LDFLAGS. --- srcpkgs/docbook2mdoc/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/docbook2mdoc/template b/srcpkgs/docbook2mdoc/template index 0b7c3ac972..07499742ad 100644 --- a/srcpkgs/docbook2mdoc/template +++ b/srcpkgs/docbook2mdoc/template @@ -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 }