slstatus: stop vendoring config.h files

This commit is contained in:
maxice8 2018-10-02 11:16:23 -03:00 committed by maxice8
parent 0f5facf234
commit 1b97dc440b

View file

@ -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
}