aboutsummaryrefslogtreecommitdiffstats
path: root/mail/prayer/files/patch-Config
blob: b36650de1d98c1055872be1b0d6e91e59757d927 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
--- Config.orig Tue Feb  7 12:38:13 2006
+++ Config  Tue Feb  7 12:38:46 2006
@@ -28,7 +28,7 @@
 
 ############################################################################
 # Location of compiler
-CC           = gcc
+#CC           = gcc
 # Location of make program (GNU make required)
 MAKE         = gmake
 # Location of install program (GNU install or compatible required)
@@ -37,7 +37,8 @@
 # Base Compiler options for GCC.
 #BASECFLAGS   = -Wall -g
 #BASELDFLAGS  = -g
-BASECFLAGS   = -Wall -g -O2
+#BASECFLAGS   = -Wall -g -O2
+BASECFLAGS   = -Wall -g ${PORTCFLAGS}
 BASELDFLAGS  = -g -O2
 BASE_LIBS    = -lcrypt
 
@@ -58,9 +59,9 @@
 # which points to ../../imap/c-client. This just reduces the amount of
 # noise output on each line when building the package.
 #
-CCLIENT_DIR=./c-client
-CCLIENT_INCLUDE=-I $(CCLIENT_DIR)
-CCLIENT_LIB=./$(CCLIENT_DIR)/c-client.a
+#CCLIENT_DIR=./c-client
+#CCLIENT_INCLUDE=-I $(CCLIENT_DIR)
+#CCLIENT_LIB=./$(CCLIENT_DIR)/c-client.a
 CCLIENT_SSL_ENABLE  = true
 
 #
@@ -80,12 +81,14 @@
 # Following works with the mail/cclient port from FreeBSD
 #
 #CCLIENT_INCLUDE = -I/usr/local/include/c-client
+CCLIENT_INCLUDE = -I${LOCALBASE}/include/c-client
 #CCLIENT_LIB     = -L/usr/local/lib -lc-client4
+CCLIENT_LIB     = -L${LOCALBASE}/lib -lc-client4
 #
 # Complication:
 #   The FreeBSD port uses PAM and optionally SSL if built WITH_SSL=yes.
 #
-#CCLIENT_SSL_ENABLE  = true
+CCLIENT_SSL_ENABLE  = true
 #CCLIENT_KERB_ENABLE = true
 
 ############################################################################
@@ -99,7 +102,7 @@
 Z_LIB     = -lz
 
 # LDAP (required if LDAP_ENABLE set)
-LDAP_INCLUDE =
+LDAP_INCLUDE = -I${LOCALBASE}/include
 LDAP_LIB     = -lldap
 
 # Pam (required if CCLIENT_PAM_ENABLE set)
@@ -128,12 +131,12 @@
 # DB definitions (required if SESSION_CACHE_ENABLE set)
 #
 # Following suitable for Redhat Linux which has DB 3 preinstalled
-DB_INCLUDE=
-DB_LIBS=-ldb
+#DB_INCLUDE=
+#DB_LIBS=-ldb
 
 # Following suitable for FreeBSD with DB 4 package installed
-#DB_INCLUDE=-I/usr/local/include/db4
-#DB_LIBS=-L/usr/local/lib -ldb4
+DB_INCLUDE=-I/usr/local/include/db42
+DB_LIBS=-L/usr/local/lib -ldb-4.2
 
 ############################################################################