summaryrefslogtreecommitdiff
path: root/sysutils/skill/patches/patch-aa
blob: 40a9c8be6d7ec4a4ca4c8d2af76dcc7a23b2d5a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
$NetBSD: patch-aa,v 1.9 2001/04/16 18:54:37 zuntum Exp $

--- Makefile.orig	Tue May 30 04:03:08 2000
+++ Makefile
@@ -54,16 +54,16 @@
 SHELL=	/bin/sh
 
 # CONFIGURE: Set location of executable, it's group and mode.
-BINDIR=	/usr/local/bin
-BINGRP=	kmem
-BINMOD=	2755
+BINDIR=	${PREFIX}/bin
+#BINGRP=	kmem
+#BINMOD=	${BINMODE}
 
 # CONFIGURE: Set location of man directory and man page suffix.
-MANDIR=	/usr/man/manl
-MANSFX=	l
+MANDIR=	${PREFIX}/man/man1
+MANSFX=	1
 
 # CONFIGURE(Config): Select an OSTYPE for your machine from the list above.
-OSTYPE=	sys-5r4
+#OSTYPE=	bsd-44
 
 # CONFIGURE(Config): Add any OS-specific options here.
 COPTS=	
@@ -75,7 +75,7 @@
 OBJS=	main.o argparse.o getproc.o
 HDRS=	conf.h
 
-CFLAGS=	-O ${COPTS}
+CFLAGS+=${COPTS}
 
 all:	skill
 
@@ -90,20 +90,20 @@
 
 install: skill
 #(SysV)	filepriv -d ${DESTDIR}/${BINDIR}/skill
-	rm -f ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-	rm -f ${DESTDIR}/${BINDIR}/snice ${DESTDIR}/${MANDIR}/snice.${MANSFX}
+#	rm -f ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${MANDIR}/skill.${MANSFX}
+#	rm -f ${DESTDIR}/${BINDIR}/snice ${DESTDIR}/${MANDIR}/snice.${MANSFX}
 #	install -c -g ${BINGRP} -m ${BINMOD} -s skill ${DESTDIR}/${BINDIR}
-	cp skill ${DESTDIR}/${BINDIR}/skill
-	strip ${DESTDIR}/${BINDIR}/skill
-	chgrp ${BINGRP} ${DESTDIR}/${BINDIR}/skill
-	chmod ${BINMOD} ${DESTDIR}/${BINDIR}/skill
-	ln ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${BINDIR}/snice
+#	cp skill ${DESTDIR}/${BINDIR}/skill
+#	strip ${DESTDIR}/${BINDIR}/skill
+#	chgrp ${BINGRP} ${DESTDIR}/${BINDIR}/skill
+#	chmod ${BINMOD} ${DESTDIR}/${BINDIR}/skill
+#	ln ${DESTDIR}/${BINDIR}/skill ${DESTDIR}/${BINDIR}/snice
 #(SysV)	filepriv -f dacread ${DESTDIR}/${BINDIR}/skill
 #	install -c -m 644 skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-	cp skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-	chmod 644 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
-	ln ${DESTDIR}/${MANDIR}/skill.${MANSFX}\
-		${DESTDIR}/${MANDIR}/snice.${MANSFX}
+#	cp skill.1 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
+#	chmod 644 ${DESTDIR}/${MANDIR}/skill.${MANSFX}
+#	ln ${DESTDIR}/${MANDIR}/skill.${MANSFX}\
+#		${DESTDIR}/${MANDIR}/snice.${MANSFX}
 
 config Config: FRC
 	./Config