summaryrefslogtreecommitdiffstats
path: root/net/plugdaemon/files/patch-Makefile
blob: 4eb74b7fa1d3abb1e98306dd65c479e03a6cb26b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	Thu Jun 24 12:46:54 2004
+++ Makefile	Thu Jun 24 12:49:07 2004
@@ -10,8 +10,8 @@
 #CFLAGS=-O2 -Wall -s -static
 #LFLAGS=-s -static
 # gcc
-CC=cc
-CFLAGS=-O -g -Wall
+CC?=cc
+CFLAGS+=-O -g -Wall
 LFLAGS=
 # cc
 #CC=cc
@@ -41,6 +41,6 @@
 tar: $T.tgz
 
 install: plug
-	install -C -m 0755 plug /usr/local/sbin
-	install -C -m 0644 plug.1 /usr/local/man/man1
+	install -C -m 0755 plug ${PREFIX}/sbin
+	install -C -m 0644 plug.1 ${PREFIX}/man/man1
 
OpenPOWER on IntegriCloud