void-packages/srcpkgs/linux-vt-setcolors/patches/8.diff

15 lines
338 B
Diff

diff --git Makefile Makefile
index 7a9cc3e..ad5ad1d 100644
--- Makefile
+++ Makefile
@@ -1,7 +1,8 @@
PREFIX=/usr/local
+CFLAGS=-Wall
setcolors: setcolors.c
- gcc -Wall setcolors.c -o setcolors
+ $(CC) $(CFLAGS) setcolors.c -o setcolors
install: setcolors setcolors.1
install -Dm 755 setcolors "${DESTDIR}${PREFIX}/bin/setcolors"