summaryrefslogtreecommitdiff
path: root/mail/courier-imap/files/patch-ldap
blob: dd788f580a39cc4649122b6fa7905a00f6bed0c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- authlib/configure.orig	Wed Mar  3 05:54:13 2004
+++ authlib/configure	Tue Mar 16 19:36:40 2004
@@ -1268,6 +1268,10 @@
    { (exit 1); exit 1; }; }
 fi
 
+CFLAGS="$CFLAGS -I%%LOCALBASE%%/include"
+CPPFLAGS="$CPPFLAGS -I%%LOCALBASE%%/include"
+LDFLAGS="-L%%LOCALBASE%%/lib $LDFLAGS"
+
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -5088,6 +5092,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <sys/types.h>
 #if HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif