1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/security/libident/files/patch-aa

61 lines
1.2 KiB
Plaintext
Raw Normal View History

1996-09-14 23:15:25 +00:00
*** Makefile.orig Sun Sep 15 01:13:03 1996
--- Makefile Sun Sep 15 01:14:06 1996
***************
1996-09-14 23:15:25 +00:00
*** 8,14 ****
RANLIB=ranlib
1996-09-14 23:15:25 +00:00
AR=ar cq
! INSTROOT=/usr/local
LIBDIR=$(INSTROOT)/lib
INCDIR=$(INSTROOT)/include
1996-09-14 23:15:25 +00:00
MANDIR=$(INSTROOT)/man/man3
--- 8,14 ----
RANLIB=ranlib
1996-09-14 23:15:25 +00:00
AR=ar cq
! INSTROOT=${PREFIX}
LIBDIR=$(INSTROOT)/lib
INCDIR=$(INSTROOT)/include
1996-09-14 23:15:25 +00:00
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
1996-09-14 23:15:25 +00:00
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
1996-09-14 23:15:25 +00:00
LDLIBS =
LIBIDENT = libident.a
***************
1996-09-14 23:15:25 +00:00
*** 32,37 ****
--- 32,38 ----
@echo ""
@echo aix
@echo bsd
+ @echo freebsd (FreeBSD 2.x)
@echo dynix
@echo hpux
@echo irix
***************
1996-09-14 23:15:25 +00:00
*** 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"
#
#