aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/cvs/Makefile2
-rw-r--r--devel/cvs/files/patch-cvs__Makefile15
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index 2925f18a9b20..e7ca39cdb771 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -16,7 +16,7 @@ INFO= cvs cvsclient
# bsd.stage.makes sets the wrong value for DESTDIR
DESTDIRNAME= NADA
-MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX} MK_KERBEROS_SUPPORT=yes
+MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
.include <bsd.port.pre.mk>
diff --git a/devel/cvs/files/patch-cvs__Makefile b/devel/cvs/files/patch-cvs__Makefile
new file mode 100644
index 000000000000..4962caff99ba
--- /dev/null
+++ b/devel/cvs/files/patch-cvs__Makefile
@@ -0,0 +1,15 @@
+--- ./cvs/Makefile.orig 2012-09-06 04:25:43.000000000 +0200
++++ ./cvs/Makefile 2014-06-19 12:37:27.000000000 +0200
+@@ -32,12 +32,10 @@
+ DPADD= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
+ LDADD= ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
+
+-.if ${MK_KERBEROS_SUPPORT} != "no"
+ CFLAGS+= -DHAVE_GSSAPI -DENCRYPTION
+ LDADD+= -lgssapi -lkrb5 -lhx509 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
+ DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
+ DPADD+= ${LIBCRYPT} ${LIBCOM_ERR}
+-.endif
+
+ #
+ # Regression test support