-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathidled-Makefile.patch
81 lines (75 loc) · 2.01 KB
/
idled-Makefile.patch
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
69
70
71
72
73
74
75
76
77
78
79
80
81
diff -Naur idled-1.16/Makefile idled-1.16-p/Makefile
--- idled-1.16/Makefile Fri May 17 00:05:28 1996
+++ idled-1.16-p/Makefile Fri May 26 14:44:01 2000
@@ -215,25 +215,25 @@
# SVR4 -- Solaris 2.x
# Use install3 for /usr/sbin/install
# and install1 for /usr/ucb/install
-DEFS += -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DRUDEKILL
-SPECLIBS =
-INSTTYPE = install3
-
-DEST = /usr/local/bin
-CFDEST = /usr/local/lib
-MDEST = /usr/local/man
-LOGDEST = /var/log
-
-OWNER = root
-CFOWNER = root
-MOWNER = root
-
-GROUP = root
-CFGROUP = root
-
-MODE = 750
-CFMODE = 664
-MMODE = 644
+#DEFS += -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DRUDEKILL
+#SPECLIBS =
+#INSTTYPE = install3
+#
+#DEST = /usr/local/bin
+#CFDEST = /usr/local/lib
+#MDEST = /usr/local/man
+#LOGDEST = /var/log
+#
+#OWNER = root
+#CFOWNER = root
+#MOWNER = root
+#
+#GROUP = root
+#CFGROUP = root
+#
+#MODE = 750
+#CFMODE = 664
+#MMODE = 644
######################################################################
######################################################################
@@ -242,9 +242,9 @@
# -DHAVE_YYRESTART if you have problems.
# You should do a 'make clean' before 'make', so that parse.c
# and scan.c will be created on your system.
-#DEFS += -DSYSV -DUTMPPID -DUTMPHOST -DHAVE_SETSID -DHAVE_YYRESTART
-#SPECLIBS =
-#INSTTYPE = install1
+DEFS += ${OPTFLAGS} -DSYSV -DUTMPPID -DUTMPHOST -DHAVE_SETSID -DHAVE_YYRESTART -DHAVE_UTMPX
+SPECLIBS =
+INSTTYPE = install1
#
#DEST = /usr/local/bin
#CFDEST = /usr/local/lib
@@ -417,8 +417,8 @@
# programs (not including paths) that need explicit make lines, plain files
BINARY = idled
-COMMFILE= idled.cf
-CFMAN = idled.cf.5
+COMMFILE= idled.conf
+CFMAN = idled.conf.5
PMAN = idled.8
# Names of config and log files
@@ -555,7 +555,7 @@
# rules for everybody in ${BINARY} go here
idled: ${OBJ}
- ${CC} ${CFLAGS} -o idled ${OBJ} ${LIBS}
+ ${CC} ${LDFLAGS} -o idled ${OBJ} ${LIBS}
y.tab.h: parse.c