freebsd-ports/devel/gcvs/files/patch-cvsunix-configure.in
Martin Wilke 9227f11f7d - Unbreak
- Bump PORTREVISION

PR:		ports/105749
Submitted by:	trasz
2006-11-22 20:38:47 +00:00

20 lines
913 B
Text

--- 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