aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsnt
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2005-02-20 18:40:05 +0800
committerfjoe <fjoe@FreeBSD.org>2005-02-20 18:40:05 +0800
commite552f0c382c6f604ab1e739545d7e0a3b8c9f3c2 (patch)
tree1d1ef001852a1164459cd9e650a90a35a35c7ad4 /devel/cvsnt
parenta247793641c77ac7914c35f4c4b806c20d45de85 (diff)
downloadfreebsd-ports-gnome-e552f0c382c6f604ab1e739545d7e0a3b8c9f3c2.tar.gz
freebsd-ports-gnome-e552f0c382c6f604ab1e739545d7e0a3b8c9f3c2.tar.zst
freebsd-ports-gnome-e552f0c382c6f604ab1e739545d7e0a3b8c9f3c2.zip
- Fix build when both heimdal and kerberos are installed.
- Bump PORTREVISION.
Diffstat (limited to 'devel/cvsnt')
-rw-r--r--devel/cvsnt/Makefile3
-rw-r--r--devel/cvsnt/files/patch-protocols-gserver.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/cvsnt/Makefile b/devel/cvsnt/Makefile
index 00edb765a36c..262532946508 100644
--- a/devel/cvsnt/Makefile
+++ b/devel/cvsnt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cvsnt
PORTVERSION= 2.0.58d
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://www.cvsnt.org/archive/
@@ -35,6 +35,7 @@ MAN5= cvs.5
PLIST_SUB= GSERVER=""
.else
PLIST_SUB= GSERVER="@comment "
+CONFIGURE_ARGS+=--disable-gserver
.endif
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
diff --git a/devel/cvsnt/files/patch-protocols-gserver.c b/devel/cvsnt/files/patch-protocols-gserver.c
new file mode 100644
index 000000000000..65aed3d7d2ca
--- /dev/null
+++ b/devel/cvsnt/files/patch-protocols-gserver.c
@@ -0,0 +1,17 @@
+--- protocols/gserver.c.orig Sun Feb 20 16:35:47 2005
++++ protocols/gserver.c Sun Feb 20 16:35:55 2005
+@@ -43,12 +43,13 @@
+
+ #ifdef HAVE_GSSAPI_H
+ #include <gssapi.h>
+-#endif
++#else
+ #ifdef HAVE_GSSAPI_GSSAPI_H
+ #include <gssapi/gssapi.h>
+ #endif
+ #ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
+ #include <gssapi/gssapi_generic.h>
++#endif
+ #endif
+ #include <krb5.h>
+