e798a7f99f
A few PEAR modules have disappeared completely during the PECL transition so they are temporarily included here to avoid breaking dependencies within the ports tree.
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
$OpenBSD: patch-ext_imap_config_m4,v 1.5 2002/06/16 15:47:29 avsm Exp $
|
|
--- ext/imap/config.m4.orig Tue Aug 21 12:02:42 2001
|
|
+++ ext/imap/config.m4 Sun Jun 16 16:11:15 2002
|
|
@@ -36,10 +36,13 @@ AC_DEFUN(PHP_IMAP_KRB_CHK, [
|
|
if test "$PHP_KERBEROS" != "no"; then
|
|
AC_DEFINE(HAVE_IMAP_KRB,1,[ ])
|
|
PHP_ADD_LIBPATH($PHP_KERBEROS/lib, IMAP_SHARED_LIBADD)
|
|
- PHP_ADD_LIBRARY(gssapi_krb5, 1, IMAP_SHARED_LIBADD)
|
|
+ PHP_ADD_LIBRARY(gssapi, 1, IMAP_SHARED_LIBADD)
|
|
+ PHP_ADD_LIBRARY(krb, 1, IMAP_SHARED_LIBADD)
|
|
PHP_ADD_LIBRARY(krb5, 1, IMAP_SHARED_LIBADD)
|
|
- PHP_ADD_LIBRARY(k5crypto, 1, IMAP_SHARED_LIBADD)
|
|
- PHP_ADD_LIBRARY(com_err, 1, IMAP_SHARED_LIBADD)
|
|
+ PHP_ADD_LIBRARY(asn1, 1, IMAP_SHARED_LIBADD)
|
|
+ PHP_ADD_LIBRARY(com_err_pic, 1, IMAP_SHARED_LIBADD)
|
|
+ PHP_ADD_LIBRARY(kafs, 1, IMAP_SHARED_LIBADD)
|
|
+ PHP_ADD_LIBRARY(des, 1, IMAP_SHARED_LIBADD)
|
|
else
|
|
AC_EGREP_HEADER(auth_gss, $IMAP_INC_DIR/linkage.h, [
|
|
AC_MSG_ERROR(This c-client library is build with Kerberos support.
|
|
@@ -71,7 +74,7 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
|
|
old_LIBS=$LIBS
|
|
LIBS="$LIBS -L$IMAP_LIBDIR -l$IMAP_LIB"
|
|
if test $PHP_KERBEROS != "no"; then
|
|
- LIBS="$LIBS -L$PHP_KERBEROS/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
|
|
+ LIBS="$LIBS -L$PHP_KERBEROS/lib -lgssapi -lkrb -lkrb5 -lasn1 -lcom_err_pic -lkafs -ldes"
|
|
fi
|
|
|
|
AC_TRY_RUN([
|