* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / mips / lcdutils / makefile-useprefix.patch
blobe9ad7e44e8c06b446cf44ed8e0dc1b50f4878848
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../lcdutils/makefile-useprefix.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- lcdutils-0.2/Makefile.vanilla 2008-04-09 17:56:05.000000000 +0200
18 +++ lcdutils-0.2/Makefile 2008-04-13 18:43:21.000000000 +0200
19 @@ -2,12 +2,13 @@
20 #LDFLAGS=-static
22 CFLAGS=-O2 -Wall
23 +prefix=/usr/local
25 all: putlcd buttond
27 install: all
28 - install putlcd /usr/local/sbin
29 - install buttond /usr/local/sbin
30 + install putlcd $(DESTDIR)$(prefix)/sbin
31 + install buttond $(DESTDIR)$(prefix)/sbin
33 clean:
34 rm -f putlcd buttond *.o