mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
*** 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"
|
|
|
|
#
|
|
#
|