summaryrefslogtreecommitdiff
path: root/sysutils/915resolution/patches/patch-ab
blob: 9ed72db7337317613f5faf9ea135205f0b3dba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.2 2006/11/13 04:15:02 obache Exp $

--- Makefile.orig	2006-02-02 23:01:38.000000000 +0900
+++ Makefile
@@ -1,9 +1,10 @@
 PRG=915resolution
 
+PREFIX?=/usr
 SRCS=915resolution.c 
 OBJS=${SRCS:.c=.o}
 
-CFLAGS:=-s -Wall -ggdb 
+all: ${PRG}
 
 ${PRG}: ${OBJS}
 
@@ -11,5 +12,5 @@ clean:
 	rm -f ${OBJS} ${PRG} *~ 
 
 install: ${PRG}
-	cp ${PRG} /usr/sbin
+	${BSD_INSTALL_PROGRAM} ${PRG} ${PREFIX}/sbin