aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-06-19 18:41:59 +0800
committermat <mat@FreeBSD.org>2014-06-19 18:41:59 +0800
commit15b34e59ac84474ca7bc0245cd3f6e835a9c40e2 (patch)
tree43a1644502640edfa7ce4653cbf819d20202e820 /devel
parentaa119a4cd5708c101812b990fe6655b92a47d386 (diff)
downloadfreebsd-ports-gnome-15b34e59ac84474ca7bc0245cd3f6e835a9c40e2.tar.gz
freebsd-ports-gnome-15b34e59ac84474ca7bc0245cd3f6e835a9c40e2.tar.zst
freebsd-ports-gnome-15b34e59ac84474ca7bc0245cd3f6e835a9c40e2.zip
Fix cvs build on at least 10.0.
Sponsored by: Absolight
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