freebsd-ports/mail/prayer/files/patch-Config
Dirk Meyer 12c098aa05 Suggested by: Martyn Hill, Diana Eichert
Prayer is yet another Webmail interface for IMAP servers on Unix systems.

It exists because we weren't terribly happy about the characteristics of
existing Webmail interfaces: in particular scalability problems with common
open source Webmail packages and the lack of flexibility that commercial
packages would give us. This doesn't mean that Prayer is trying to compete
with existing Webmail packages. It just means that Prayer is better suited
to our particular environment.

WWW: http://www-uxsup.csx.cam.ac.uk/~dpc22/prayer/
2004-01-06 10:01:22 +00:00

59 lines
2 KiB
Text

--- Config.orig Thu May 29 11:49:38 2003
+++ Config Tue Jan 6 10:20:40 2004
@@ -8,7 +8,7 @@
# Conventional Configure file.
SSL_ENABLE = true # SSL requires OpenSSL
-SESSION_CACHE_ENABLE = true # SSL session cache Requires Berkeley DB 3 or 4
+SESSION_CACHE_ENABLE = false # SSL session cache Requires Berkeley DB 3 or 4
GZIP_ENABLE = true # Enable on the fly compression of pages
FENCE_ENABLE = false # Use Electric Fence to catch malloc problems
DIRECT_ENABLE = false # Experimental. Leave this switched off...
@@ -26,7 +26,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)
@@ -35,7 +35,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
@@ -56,9 +57,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
#
@@ -78,12 +79,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
############################################################################