summaryrefslogtreecommitdiff
path: root/sysutils/tcplist/files/patch-01
blob: 1bc169c506e6d714e555dce5cc893ca6b7a4962a (plain) (blame)
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
--- Makefile.orig	Mon Apr 14 18:06:02 1997
+++ Makefile	Mon Apr 14 18:08:48 1997
@@ -1,14 +1,16 @@
 # Compiler: eg. cc or gcc
 CC = cc                      
 
+#PREFIX=	/local
+
 # Directory to install tcplist executable
-BINDIR = /local/bin
+BINDIR = $(PREFIX)/bin
 
 # Directory to install tcplist man page
-MANDIR = /local/man/man1
+MANDIR = $(PREFIX)/man/man1
 
 # Location of NOIDENT file
-NOIDENT = /etc/hosts.noident
+NOIDENT = $(PREFIX)/etc/hosts.noident
 
 # Owner of tcplist executable
 OWNER = root
@@ -45,18 +47,18 @@
 # 
 # Solaris 2.x (using LSOF):
 #
-LIBRARIES = -lsocket -lnsl
-DEFS = -DLSOF
-MODE = 755
-GROUP = staff
+#LIBRARIES = -lsocket -lnsl
+#DEFS = -DLSOF
+#MODE = 755
+#GROUP = staff
 
 # 
 # Generic LSOF:
 #
-# LIBRARIES = 
-# DEFS = -DLSOF
-# MODE = 755
-# GROUP = staff
+ LIBRARIES = 
+ DEFS = -DLSOF
+ MODE = 755
+ GROUP = staff
 #
 
 # If you're using an old version of lsof, uncomment this: