$OpenBSD: patch-Makefile,v 1.1 2007/10/26 21:38:24 jasper Exp $ --- Makefile.orig Fri Jan 17 20:10:55 1997 +++ Makefile Fri Oct 26 23:31:46 2007 @@ -8,7 +8,7 @@ RM=rm -f RANLIB=ranlib AR=ar cq -INSTROOT=/usr/local +INSTROOT=${PREFIX} LIBDIR=$(INSTROOT)/lib INCDIR=$(INSTROOT)/include MANDIR=$(INSTROOT)/man/man3 @@ -19,7 +19,7 @@ MANDIR=$(INSTROOT)/man/man3 # Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files # needed for our purposes (stdlib, string, unistd). # -CFLAGS = -O +#CFLAGS = -O LDLIBS = LIBIDENT = libident.a @@ -33,6 +33,7 @@ fail: @echo aix @echo bsd @echo bsd2.11 + @echo openbsd @echo dynix @echo hpux @echo irix @@ -126,6 +127,10 @@ bsd: bsd2.11: @$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int -DHAVE_ANSIHEADERS" +# +# OpenBSD 2.x +openbsd: + @$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS" # #