summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-01 22:26:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-01 22:26:56 +0000
commite3ee05466c72dfd859ab01cd8dc611c7b7a553cb (patch)
treedad1a13a6e8b1d4f9b7aa1e2c10a7c2418bafa03
parenta717974313d4c2c0a7ae2d6d178caffe3b2c874e (diff)
when you support kerberosV, you apparently need to also link in the 12
other libraries that it's tentacles lead to. This is just disgusting, and are going to pressure the KTH people to fix this. It's unmaintainable. kerberosV and kerberosIV even have cross dependencies. It's insane. patch developed at the same time by drahn and I
-rw-r--r--gnu/usr.bin/cvs/configure2
-rw-r--r--gnu/usr.bin/cvs/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/configure b/gnu/usr.bin/cvs/configure
index 3154a647af5..1839d45dacd 100644
--- a/gnu/usr.bin/cvs/configure
+++ b/gnu/usr.bin/cvs/configure
@@ -3287,7 +3287,7 @@ EOF
includeopt="${includeopt} -I$GSSAPI/include/kerberosV"
# 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"
+ LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -lcrypto -lcom_err"
else
LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err"
fi
diff --git a/gnu/usr.bin/cvs/configure.in b/gnu/usr.bin/cvs/configure.in
index f0c89fe6e88..56ba4d96425 100644
--- a/gnu/usr.bin/cvs/configure.in
+++ b/gnu/usr.bin/cvs/configure.in
@@ -233,7 +233,7 @@ if test "$ac_cv_header_krb5_h" = "yes" &&
includeopt="${includeopt} -I$GSSAPI/include/kerberosV"
# 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"
+ LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -lcrypto -lcom_err"
else
LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err"
fi