Bug 186965 - [patch] mail/prayer missing header
Summary: [patch] mail/prayer missing header
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 23:00 UTC by Nikola Kolev
Modified: 2014-03-08 12:00 UTC (History)
0 users

See Also:


Attachments
file.txt (268 bytes, text/plain)
2014-02-22 23:00 UTC, Nikola Kolev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikola Kolev 2014-02-22 23:00:00 UTC
Versions before FreeBSD 10 cannot find iconv.h header file.
This is second patch for this port. I can merge them if its necessary.

Fix: Patch attached with submission follows:
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2014-03-08 10:11:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-08 11:59:25 UTC
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 \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2014-03-08 11:59:43 UTC
State Changed
From-To: open->closed

Patch committed, thanks!