From df70a7f912686d2d87ddbe8b44b23ac8382c9971 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 6 Jun 2015 21:31:48 +0200 Subject: [PATCH] zathura-pdf-mupdf: fix CFLAGS and LDFLAGS --- srcpkgs/zathura-pdf-mupdf/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/zathura-pdf-mupdf/template b/srcpkgs/zathura-pdf-mupdf/template index d86946eeb1b..5fa6d3da56b 100644 --- a/srcpkgs/zathura-pdf-mupdf/template +++ b/srcpkgs/zathura-pdf-mupdf/template @@ -14,6 +14,11 @@ short_desc="PDF support for zathura (using mupdf)" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" checksum=b1343f35940ebcf463b868b557be4eaba7d61884d6ff3ad3d7c7c272e69c253f +pre_build() { + sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk + sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk +} + post_install() { vlicense LICENSE }