From 1b97dc440b49e4a7b480d53726b6af5f5888c5c7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 2 Oct 2018 11:16:23 -0300 Subject: [PATCH] slstatus: stop vendoring config.h files --- srcpkgs/slstatus/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/slstatus/template b/srcpkgs/slstatus/template index 747a166c58..28e2c697bc 100644 --- a/srcpkgs/slstatus/template +++ b/srcpkgs/slstatus/template @@ -14,7 +14,7 @@ makedepends="alsa-lib-devel libX11-devel" checksum=2602a7210decb265b55f1802d4baea652d782ef6c1c8d2f58a7d79bbd2d93d84 pre_build() { - cp ${FILESDIR}/config.h config.h + [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h sed -i -e 's|^CFLAGS *=|override CFLAGS +=|g' \ -e 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk }