aboutsummaryrefslogtreecommitdiff
path: root/devel/gcvs/files/patch-cvsunix-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gcvs/files/patch-cvsunix-configure.in')
-rw-r--r--devel/gcvs/files/patch-cvsunix-configure.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gcvs/files/patch-cvsunix-configure.in b/devel/gcvs/files/patch-cvsunix-configure.in
new file mode 100644
index 000000000000..af3824b87088
--- /dev/null
+++ b/devel/gcvs/files/patch-cvsunix-configure.in
@@ -0,0 +1,20 @@
+--- cvsunix/configure.in.orig Wed Nov 22 16:09:07 2006
++++ cvsunix/configure.in Wed Nov 22 16:10:02 2006
+@@ -178,7 +178,7 @@
+ # the user's setting for LDFLAGS
+ hold_ldflags=$LDFLAGS
+ test -n "${krb_libdir}" && LDFLAGS="$LDFLAGS -L${krb_libdir}"
+- AC_CHECK_LIB(des,printf,[LIBS="${LIBS} -ldes"])
++ AC_CHECK_LIB(des,printf,[LIBS="${LIBS} -lcrypt"])
+ LDFLAGS=$hold_ldflags
+ if test -n "$krb_incdir"; then
+ includeopt="${includeopt} -I$krb_incdir"
+@@ -212,7 +212,7 @@
+ includeopt="${includeopt} -I$GSSAPI/include"
+ # FIXME: This is ugly, but these things don't seem to be standardized.
+ if test "$ac_cv_header_gssapi_h" = "yes"; then
+- LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken"
++ LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err"
+ else
+ LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err"
+ fi