summaryrefslogtreecommitdiff
path: root/security/tripwire/patches/patch-aa
blob: 3999011d58cf198638f34497f83a8ef182625be2 (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
$NetBSD: patch-aa,v 1.3 1999/05/31 04:10:32 ross Exp $

Miscellaneous Makefile settings.

--- Makefile	1994/07/25 15:59:41	1.16
+++ Makefile	1998/11/17 13:44:39
@@ -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,8 +32,8 @@
 #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     = gcc			# also common
+#CC     = cc			# common
+CC     = gcc			# also common
 #CC	= /usr/ccs/bin/cc	# Pyramid DC/OSx (SVR4)
 
 CFLAGS = -O			# common 
@@ -48,7 +48,7 @@
 #CFLAGS = -systype bsd43	# ETA/10 (SVR3)
 #CFLAGS = -systype bsd43	# MIPS RISC/OS 4.5x
 #CFLAGS = -O -ansi		# gnu CC
-#CFLAGS = -O -ansi -W -Wreturn-type -Wswitch -Wshadow # gnu CC w/all warnings
+CFLAGS = -O -ansi -W -Wreturn-type -Wswitch -Wshadow -DTW_TYPE32='int'
 #CFLAGS = -OG			# Pyramid OSx
 #CFLAGS = -O -Kold		# Pyramid DC/OSx (SVR4)
 #CFLAGS = -DTW_TYPE32='int'	# DEC OSF/1 Alpha (or any other architecture
@@ -77,7 +77,7 @@
 
 # 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