1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build on systems without kerberos installed by adding

KERBEROS option (default on, so unchanged from previous state)
This commit is contained in:
Andrey A. Chernov 2014-07-15 08:25:44 +00:00
parent 34abf4d702
commit 129553ddfa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361895
2 changed files with 9 additions and 15 deletions

View File

@ -11,6 +11,9 @@ COMMENT= Version control system
LICENSE= GPLv2
OPTIONS_DEFINE= KERBEROS
OPTIONS_DEFAULT= KERBEROS
USES= makeinfo tar:xz uidfix
WRKSRC= ${WRKDIR}/call/cvs-build
INFO= cvs cvsclient
@ -19,6 +22,12 @@ INFO= cvs cvsclient
DESTDIRNAME= NADA
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MKERBEROS}
MAKE_ARGS+= MK_KERBEROS_SUPPORT=yes
.endif
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900000

View File

@ -1,15 +0,0 @@
--- ./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