--- Config.orig	Thu Feb 17 12:18:46 2005
+++ Config	Thu Feb 17 12:23:25 2005
@@ -27,7 +27,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)
@@ -36,7 +36,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
 
@@ -57,9 +58,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
 
 #
@@ -79,12 +80,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
 
 ############################################################################
@@ -123,12 +126,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
 
 ############################################################################
 
