aboutsummaryrefslogtreecommitdiff
path: root/mail/prayer
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-03-08 11:59:18 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-03-08 11:59:18 +0000
commit891dc4defb8f6cdd5fdb3a7a3e6566073fac78b7 (patch)
treef742ae5c0dcc691d69a496c5a2787408eb6ffb0c /mail/prayer
parente904d3dd5af8afb20e5b16a1720812edc2eb8d4f (diff)
downloadports-891dc4defb8f6cdd5fdb3a7a3e6566073fac78b7.tar.gz
ports-891dc4defb8f6cdd5fdb3a7a3e6566073fac78b7.zip
Notes
Diffstat (limited to 'mail/prayer')
-rw-r--r--mail/prayer/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/prayer/Makefile b/mail/prayer/Makefile
index 6fd6b495158d..50b4d3363cab 100644
--- a/mail/prayer/Makefile
+++ b/mail/prayer/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 1.3.5
CATEGORIES= mail www
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/prayer/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= koue@chaosophia.net
COMMENT= Prayer Webmail System
LICENSE= GPLv2
@@ -42,7 +42,8 @@ MAKE_ARGS+= RW_USER="${UID}" RW_GROUP="${GID}" RO_GROUP="${GID}" RO_USER="${UID}
CCLIENT_INCLUDE="-I${LOCALBASE}/include/c-client" \
CCLIENT_LIBS="-L${LOCALBASE}/lib -lc-client4" \
CC="${CC}" \
- CPPFLAGS="${CFLAGS}" \
+ CPPFLAGS="${CFLAGS} -I${ICONV_PREFIX}/include" \
+ LDFLAGS="-L${ICONV_PREFIX}/lib" \
PREFIX="${PREFIX}/prayer" \
BIN_DIR="${PREFIX}/sbin" \
PRAYER_CONFIG_FILE="${ETCDIR}/prayer.cf" \
@@ -91,7 +92,7 @@ post-patch:
# change the user in the default config and cylog util
@${REINPLACE_CMD} "s#prayer_user = \"prayer\"#prayer_user = \"_prayer\"#" ${WRKSRC}/files/etc/prayer.cf.SRC
@${REINPLACE_CMD} "s#\"prayer\" \"prayer\"#\"_prayer\" \"prayer\"#" ${WRKSRC}/utils/prayer-cyclog.SRC
- @${REINPLACE_CMD} "s,-liconv,${ICONV_LIB}," ${WRKSRC}/Config
+ @${REINPLACE_CMD} "s,-lutil,-lutil ${ICONV_LIB}," ${WRKSRC}/Config
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/prayer \