summaryrefslogtreecommitdiff
path: root/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch
blob: a67db0c2e297197402edc760d2e217ca994a9c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile	2002-07-08 15:31:37.000000000 +0200
+++ b/Makefile	2019-11-06 20:38:11.499806312 +0100
@@ -1,13 +1,14 @@
 #CC=mips-uclibc-gcc
 #LDFLAGS=-static
 
-CFLAGS=-O2 -Wall
+CFLAGS?=-O2 -Wall
 
 all: putlcd buttond
 
 install: all
-	install putlcd /usr/local/sbin
-	install buttond /usr/local/sbin
+	install -d ${DESTDIR}/usr/bin
+	install putlcd ${DESTDIR}/usr/bin
+	install buttond ${DESTDIR}/usr/bin
 
 clean:
 	rm -f putlcd buttond *.o