summaryrefslogtreecommitdiffstats
path: root/security/libident/files/patch-aa
blob: a0ed5825c8e96a4a708aaebcb09f8ec1f7d489fe (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
59
60
*** Makefile.orig	Sun Sep 15 01:13:03 1996
--- Makefile	Sun Sep 15 01:14:06 1996
***************
*** 8,14 ****
  RANLIB=ranlib
  AR=ar cq
  
! INSTROOT=/usr/local
  LIBDIR=$(INSTROOT)/lib
  INCDIR=$(INSTROOT)/include
  MANDIR=$(INSTROOT)/man/man3
--- 8,14 ----
  RANLIB=ranlib
  AR=ar cq
  
! INSTROOT=${PREFIX}
  LIBDIR=$(INSTROOT)/lib
  INCDIR=$(INSTROOT)/include
  MANDIR=$(INSTROOT)/man/man3
***************
*** 19,25 ****
  # Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
  # needed for our purposes (stdlib, string, unistd).
  #
! CFLAGS = -O
  
  LDLIBS =
  LIBIDENT = libident.a
--- 19,25 ----
  # Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
  # needed for our purposes (stdlib, string, unistd).
  #
! #CFLAGS = -O
  
  LDLIBS =
  LIBIDENT = libident.a
***************
*** 32,37 ****
--- 32,38 ----
  	@echo ""
  	@echo aix
  	@echo bsd
+ 	@echo freebsd (FreeBSD 2.x)
  	@echo dynix
  	@echo hpux
  	@echo irix
***************
*** 121,126 ****
--- 122,132 ----
  #
  bsd:
  	@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int"
+ 
+ #
+ # FreeBSD 2.x
+ freebsd:
+ 	@$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS"
  
  #
  #
OpenPOWER on IntegriCloud