Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / tripwire / patches / patch-aa
blob54106b4642ba991b33133f83036634dae1d98abc
1 $NetBSD: patch-aa,v 1.5 2008/10/03 17:42:29 joerg Exp $
3 --- Makefile.orig       1994-07-26 00:59:41.000000000 +0900
4 +++ Makefile
5 @@ -12,7 +12,7 @@
6  ###
7  
8  # destination directory for final executables
9 -DESTDIR = /secureplace/bin
10 +DESTDIR? =
12  # destination for man pages
13  MANDIR  = /usr/man
14 @@ -32,11 +32,11 @@ SHELL       = /bin/sh
15  #SHELL = /bin/bash             # For the GNU fanatics
17  # you can use ANSI C if you like, but K&R is equally fine.
18 -CC     = cc                    # common
19 +#CC     = cc                   # common
20  #CC     = gcc                  # also common
21  #CC    = /usr/ccs/bin/cc       # Pyramid DC/OSx (SVR4)
23 -CFLAGS = -O                    # common 
24 +#CFLAGS = -O                   # common 
25  #CFLAGS = -g                   # common 
26  #CFLAGS = -g                   # debugging
27  #CFLAGS = -O -cckr             # SGI
28 @@ -55,7 +55,7 @@ CFLAGS = -O                   # common 
29                                 # where int [but not long] is a 32 bit quantity)
31  # a C preprocessor (to build inode.h)
32 -CPP    = $(CC) -E                      # common
33 +#CPP   = $(CC) -E                      # common
34  #CPP   = /usr/lib/cpp          # on older systems
35  #CPP   = /lib/cpp              # on older systems
37 @@ -67,7 +67,7 @@ LDFLAGS=                      # common
38  #LDFLAGS= -dn                  # Pyramid DC/OSx (SVR4)
40  # libraries
41 -LIBS =                                 # common
42 +#LIBS =                                # common
43  #LIBS = -lsocket                # SCO
44  #LIBS = -lmalloc -lsun -lc_s   # IRIX 4.0
45  #LIBS = -lx                    # Xenix
46 @@ -77,7 +77,7 @@ LIBS =                                # common
48  # If you don't have the install command, you need to replace
49  # the use of it later in the makefile with a cp and chmod
50 -INSTALL= /usr/bin/install      # common
51 +#INSTALL= /usr/bin/install     # common
52  #INSTALL= /usr/ucb/install     # Pyramid DC/OSx (SVR4)
53  #INSTALL= /etc/install         # Pyramid OSx
54  #INSTALL= /bin/cp              # no install
55 @@ -103,8 +103,8 @@ all:
56                 YACC="$(YACC)" LEX="$(LEX)" all)
58  install: all
59 -       (cd src; make INSTALL=$(INSTALL) DESTDIR=$(DESTDIR) install)
60 -       (cd man; make INSTALL=$(INSTALL) MANDIR=$(MANDIR) install)
61 +       (cd src; make INSTALL=$(INSTALL) DESTDIR=$(DESTDIR)${PREFIX}/sbin install)
62 +       (cd man; make INSTALL=$(INSTALL) MANDIR=$(DESTDIR)$(PREFIX)/${PKGMANDIR} install)
64  test:  all
65         (cd tests; make HOSTNAME=$(HOSTNAME) DIST=$(DIST) SHELL=$(SHELL) \