From 15b34e59ac84474ca7bc0245cd3f6e835a9c40e2 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 19 Jun 2014 10:41:59 +0000 Subject: Fix cvs build on at least 10.0. Sponsored by: Absolight --- devel/cvs/Makefile | 2 +- devel/cvs/files/patch-cvs__Makefile | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 devel/cvs/files/patch-cvs__Makefile (limited to 'devel') 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 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 -- cgit