aboutsummaryrefslogtreecommitdiffstats
path: root/mail/prayer
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-03-08 19:59:18 +0800
committerantoine <antoine@FreeBSD.org>2014-03-08 19:59:18 +0800
commite1cc3d92327d0c2ae4b1e38370a3cc6d21eb9c73 (patch)
treef742ae5c0dcc691d69a496c5a2787408eb6ffb0c /mail/prayer
parentb7abf52636a9efd881a0f9737d20d823b944dbcc (diff)
downloadfreebsd-ports-gnome-e1cc3d92327d0c2ae4b1e38370a3cc6d21eb9c73.tar.gz
freebsd-ports-gnome-e1cc3d92327d0c2ae4b1e38370a3cc6d21eb9c73.tar.zst
freebsd-ports-gnome-e1cc3d92327d0c2ae4b1e38370a3cc6d21eb9c73.zip
- Fix build on 8 and 9
- Pass maintainership to submitter PR: ports/186965 Submitted by: Nikola Kolev
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 \