summaryrefslogtreecommitdiff
path: root/devel/opencvs/files/patch-Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-04-20 20:19:31 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-04-20 20:19:31 +0000
commit2fb0b2f0ca7b0072f0b13f66b0c3adf9c19d4f12 (patch)
treee688be69708a32219550bf5620aedd4d207f1910 /devel/opencvs/files/patch-Makefile
parentUpdate to version 0.6 (diff)
- Update opencvs to new 20110420 version
- Add manpages [1] - Add license [2] - Remove some unneeded patches [2] Reported by: obrien PR: ports/156490 [1] PR: ports/156491 [2]
Diffstat (limited to 'devel/opencvs/files/patch-Makefile')
-rw-r--r--devel/opencvs/files/patch-Makefile28
1 files changed, 21 insertions, 7 deletions
diff --git a/devel/opencvs/files/patch-Makefile b/devel/opencvs/files/patch-Makefile
index 91de90f7e779..67b91828df5e 100644
--- a/devel/opencvs/files/patch-Makefile
+++ b/devel/opencvs/files/patch-Makefile
@@ -1,8 +1,17 @@
---- Makefile.orig 2008-06-21 17:39:15.000000000 +0200
-+++ Makefile 2010-06-08 20:18:08.000000000 +0200
-@@ -12,14 +12,8 @@
- server.c status.c tag.c trigger.c worklist.c util.c update.c version.c \
- watch.c xmalloc.c
+--- Makefile.orig 2011-04-20 20:46:33.000000000 +0200
++++ Makefile 2011-04-20 21:22:34.000000000 +0200
+@@ -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 @@
+ 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
@@ -11,10 +20,15 @@
-CFLAGS+=-Wsign-compare
-DEBUG= -g -ggdb
-YFLAGS=
--
--INSTALL_STRIP=
+CFLAGS+=-DSIZE_MAX=ULONG_MAX
+DPADD+= ${LIBZ}
+LDADD+= -lz -lmd
+-INSTALL_STRIP=
++opencvs.1:
++ mv cvs.1 opencvs.1
++
++opencvs.5:
++ mv cvs.5 opencvs.5
+
.include <bsd.prog.mk>