Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2014 11:59:18 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347482 - head/mail/prayer
Message-ID:  <201403081159.s28BxIlT014009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Mar  8 11:59:18 2014
New Revision: 347482
URL: http://svnweb.freebsd.org/changeset/ports/347482
QAT: https://qat.redports.org/buildarchive/r347482/

Log:
  - Fix build on 8 and 9
  - Pass maintainership to submitter
  
  PR:		ports/186965
  Submitted by:	Nikola Kolev

Modified:
  head/mail/prayer/Makefile

Modified: head/mail/prayer/Makefile
==============================================================================
--- head/mail/prayer/Makefile	Sat Mar  8 11:55:16 2014	(r347481)
+++ head/mail/prayer/Makefile	Sat Mar  8 11:59:18 2014	(r347482)
@@ -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="$
 		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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403081159.s28BxIlT014009>