summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/cyrus-imapd/files/cyrus-imapd-2.2.13-afs.patch')
-rw-r--r--net-mail/cyrus-imapd/files/cyrus-imapd-2.2.13-afs.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-mail/cyrus-imapd/files/cyrus-imapd-2.2.13-afs.patch b/net-mail/cyrus-imapd/files/cyrus-imapd-2.2.13-afs.patch
new file mode 100644
index 000000000000..96bde0546097
--- /dev/null
+++ b/net-mail/cyrus-imapd/files/cyrus-imapd-2.2.13-afs.patch
@@ -0,0 +1,22 @@
+--- configure.in.orig 2006-03-31 15:09:06.000000000 -0800
++++ configure.in 2006-03-31 15:08:16.000000000 -0800
+@@ -466,8 +466,12 @@
+ AC_DEFINE(AFSPTS_USE_KRB5,[],[Should the AFS PTS plugin use krb5?])])
+
+ if test "x$with_afs" != "xno"; then
+- if test ! -d $with_afs; then
+- $with_afs=/usr/local
++ if test "x$with_afs" != "xyes"; then
++ if test ! -d $with_afs; then
++ with_afs=/usr/local
++ fi
++ else
++ with_afs=/usr
+ fi
+ CFLAGS="${CFLAGS} -I${with_afs}/include"
+ AFS_LIBS="${with_afs}/lib/afs/libkauth.a
+${with_afs}/lib/afs/libprot.a ${with_afs}/lib/afs/libauth.a
+${with_afs}/lib/afs/libsys.a ${with_afs}/lib/librxkad.a
+${with_afs}/lib/librx.a ${with_afs}/lib/afs/libsys.a
+${with_afs}/lib/libubik.a ${with_afs}/lib/liblwp.a
+${with_afs}/lib/afs/util.a"