aboutsummaryrefslogtreecommitdiffstats
path: root/mail/prayer/files
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-11 16:29:01 +0800
committerbapt <bapt@FreeBSD.org>2013-12-11 16:29:01 +0800
commitfd6c5b8c49fba562a9e3fd0b0c97efb3434e474e (patch)
tree56b4ecd2a28b17f024dfc347914e07ab7ef3c76d /mail/prayer/files
parent63085dbe7001d2c0ad3d43a25b2089bca2dd5d09 (diff)
downloadfreebsd-ports-gnome-fd6c5b8c49fba562a9e3fd0b0c97efb3434e474e.tar.gz
freebsd-ports-gnome-fd6c5b8c49fba562a9e3fd0b0c97efb3434e474e.tar.zst
freebsd-ports-gnome-fd6c5b8c49fba562a9e3fd0b0c97efb3434e474e.zip
Support stage
Support packaging as a user Define Make arguments instead of heavily patching Fix build on 10 and HEAD
Diffstat (limited to 'mail/prayer/files')
-rw-r--r--mail/prayer/files/patch-Config85
1 files changed, 0 insertions, 85 deletions
diff --git a/mail/prayer/files/patch-Config b/mail/prayer/files/patch-Config
deleted file mode 100644
index a472f343e35b..000000000000
--- a/mail/prayer/files/patch-Config
+++ /dev/null
@@ -1,85 +0,0 @@
---- Config.orig 2010-07-29 10:19:04.982393002 +0200
-+++ Config 2010-07-29 10:21:55.459770746 +0200
-@@ -28,31 +28,31 @@
-
- ############################################################################
- # 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)
- INSTALL = install
-
- # Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in)
--ifdef CPPFLAGS
-- BASECFLAGS = $(CPPFLAGS)
-+ifdef PORTCFLAGS
-+ BASECFLAGS = $(PORTCFLAGS)
- else
- BASECFLAGS = -Wall -g -O2
- endif
- ifdef INCLUDES
- BASECFLAGS += $(INCLUDES)
- endif
--ifdef LDFLAGS
-- BASELDFLAGS = $(LDFLAGS)
-+ifdef PORTLDFLAGS
-+ BASELDFLAGS = $(PORTLDFLAGS)
- else
- BASELDFLAGS = -g
- endif
-
- # Minimal libraries needed by Linux
--BASE_LIBS = -lcrypt -lutil
-+#BASE_LIBS = -lcrypt -lutil
- # FreeBSD needs some extra libraries:
--# BASE_LIBS = -lcrypt -liconv -lutil
-+BASE_LIBS = -lcrypt -liconv -lutil
- # Solaris needs even more libararies:
- # BASE_LIBS = -lcrypt -lxnet -lnsl -lsocket
-
-@@ -93,12 +93,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_LIBS = -L/usr/local/lib -lc-client4
-+CCLIENT_LIBS = -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
-
- ############################################################################
-@@ -116,7 +118,7 @@
- Z_LIBS = -lz
-
- # LDAP (required if LDAP_ENABLE set)
--LDAP_INCLUDE =
-+LDAP_INCLUDE = -I${LOCALBASE}/include
- LDAP_LIBS = -lldap
-
- # Pam (required if CCLIENT_PAM_ENABLE set)
-@@ -171,7 +173,7 @@
- # Default configuration and permissions does not allow prayer user to
- # update prayer configuration file.
-
--PREFIX = /usr/local/prayer
-+PREFIX = %%PREFIX%%/prayer
- RO_USER = root
- RO_GROUP = prayer
-
-@@ -186,6 +188,6 @@
- PRIVATE_FILE = 0640
-
- # Location of configuration files and binaries
--PRAYER_CONFIG_FILE = ${PREFIX}/etc/prayer.cf
--BIN_DIR = ${PREFIX}/sbin
--ACCOUNTD_CONFIG_FILE = ${PREFIX}/etc/prayer-accountd.cf
-+PRAYER_CONFIG_FILE = %%PREFIX%%/etc/prayer/prayer.cf
-+BIN_DIR = %%PREFIX%%/sbin
-+ACCOUNTD_CONFIG_FILE = %%PREFIX%%/etc/prayer/accountd.cf