summaryrefslogtreecommitdiff
path: root/security/tripwire/patches/patch-aa
blob: 32977f4b989899534fb452e3a03cbda396bf8adc (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
$NetBSD: patch-aa,v 1.4 2004/02/08 13:36:20 grant Exp $

--- Makefile.orig	1994-07-26 01:59:41.000000000 +1000
+++ Makefile
@@ -12,10 +12,10 @@
 ###
 
 # destination directory for final executables
-DESTDIR = /secureplace/bin
+DESTDIR = ${PREFIX}/sbin
 
 # destination for man pages
-MANDIR  = /usr/man
+MANDIR  = ${PREFIX}/man
 
 # system utilities
 LEX	= lex
@@ -32,11 +32,11 @@ SHELL	= /bin/sh
 #SHELL	= /bin/bash		# For the GNU fanatics
 
 # you can use ANSI C if you like, but K&R is equally fine.
-CC     = cc			# common
+#CC     = cc			# common
 #CC     = gcc			# also common
 #CC	= /usr/ccs/bin/cc	# Pyramid DC/OSx (SVR4)
 
-CFLAGS = -O			# common 
+#CFLAGS = -O			# common 
 #CFLAGS = -g 			# common 
 #CFLAGS = -g			# debugging
 #CFLAGS = -O -cckr		# SGI
@@ -55,7 +55,7 @@ CFLAGS = -O			# common 
                           	# where int [but not long] is a 32 bit quantity)
 
 # a C preprocessor (to build inode.h)
-CPP	= $(CC) -E			# common
+#CPP	= $(CC) -E			# common
 #CPP	= /usr/lib/cpp		# on older systems
 #CPP	= /lib/cpp		# on older systems
 
@@ -67,7 +67,7 @@ LDFLAGS=			# common
 #LDFLAGS= -dn			# Pyramid DC/OSx (SVR4)
 
 # libraries
-LIBS = 				# common
+#LIBS = 				# common
 #LIBS = -lsocket                # SCO
 #LIBS = -lmalloc -lsun -lc_s	# IRIX 4.0
 #LIBS = -lx			# Xenix
@@ -77,7 +77,7 @@ LIBS = 				# common
 
 # If you don't have the install command, you need to replace
 # the use of it later in the makefile with a cp and chmod
-INSTALL= /usr/bin/install	# common
+#INSTALL= /usr/bin/install	# common
 #INSTALL= /usr/ucb/install	# Pyramid DC/OSx (SVR4)
 #INSTALL= /etc/install		# Pyramid OSx
 #INSTALL= /bin/cp		# no install