slock: added line in build section of template to factor in config.h

This commit is contained in:
wrest64 2022-06-28 22:26:26 -04:00 committed by Duncan Overbruck
parent 480debca8b
commit 3c4c272548
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ distfiles="http://dl.suckless.org/tools/slock-${version}.tar.gz"
checksum=b53849dbc60109a987d7a49b8da197305c29307fd74c12dc18af0d3044392e6a
do_build() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk