--- Makefile.orig 2011-04-20 20:46:33.000000000 +0200 +++ Makefile 2016-02-06 23:33:35.512773000 +0100 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.48 2010/10/15 08:44:12 tobias Exp $ PROG= opencvs -MAN= cvsintro.7 # cvs.1 cvs.5 +MAN= cvsintro.7 opencvs.1 opencvs.5 CPPFLAGS+=-I${.CURDIR} SRCS= cvs.c add.c admin.c annotate.c atomicio.c commit.c config.c \ @@ -12,14 +12,14 @@ SRCS= cvs.c add.c admin.c annotate.c ato root.c server.c status.c tag.c trigger.c worklist.c util.c update.c \ version.c watch.c xmalloc.c -CFLAGS+=-Wall -CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -CFLAGS+=-Wmissing-declarations -CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+=-Wsign-compare -DEBUG= -g -ggdb -YFLAGS= +CFLAGS+=-DSIZE_MAX=ULONG_MAX -DHOST_NAME_MAX=_POSIX_HOST_NAME_MAX +DPADD+= ${LIBZ} +LDADD+= -lz -lmd -INSTALL_STRIP= +opencvs.1: + mv cvs.1 opencvs.1 + +opencvs.5: + mv cvs.5 opencvs.5 .include