slock: added line in build section of template to factor in config.h
This commit is contained in:
parent
480debca8b
commit
3c4c272548
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue