Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 18:03:02 +0900
From:      Tod McQuillin <devin@distalzou.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46924: mail/courier-imap does not use libfam
Message-ID:  <E18Wv4A-000JTS-00@mail.distalzou.net>

next in thread | raw e-mail | index | archive | help

>Number:         46924
>Category:       ports
>Synopsis:       mail/courier-imap does not use libfam
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 10 01:10:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tod McQuillin
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD glass.pun-pun.prv 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 1 20:59:11 JST 2002 devin@glass.pun-pun.prv:/usr/obj/usr/src/4-stable/src/sys/GLASS i386


	
>Description:
	Courier IMAP 1.6.1 includes new support for the IMAP IDLE
extension.  This support requires libfam to function properly (see
imapd(8)).
>How-To-Repeat:
	The current port does not show a dependency on devel/fam, and
even if devel/fam is installed the configure script does not find it
because /usr/local/include is not searched.

# cd /usr/ports/mail/courier-imap
# make

Note that fam.h and libfam are not found by the configure script in the
maildir directory.

>Fix:
	The following patch enables FAM if WITH_FAM is defined.

diff -c courier-imap/Makefile courier-imap+/Makefile
*** courier-imap/Makefile	Fri Jan 10 02:24:37 2003
--- courier-imap+/Makefile	Fri Jan 10 17:57:40 2003
***************
*** 30,35 ****
--- 30,36 ----
  # WITH_POSTGRESQL:		Build in postgresql support
  # WITH_LDAP:			Build in ldap support with openldap 2.x
  # WITH_LDAP1:			Build in ldap support with openldap 1.x
+ # WITH_FAM:			Build in fam support for IDLE command
  #
  
  CONFDIR?=	${PREFIX}/etc/${PORTNAME}
***************
*** 55,60 ****
--- 56,67 ----
  		--enable-workarounds-for-imap-client-bugs \
  		--enable-unicode \
  		--disable-root-check
+ 
+ .if defined(WITH_FAM)
+ CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+ 		LDFLAGS="-L${LOCALBASE}/lib"
+ LIB_DEPENDS+=	fam.0:${PORTSDIR}/devel/fam
+ .endif
  
  .if !defined(WITH_VPOPMAIL)
  CONFIGURE_ARGS+= --without-authvchkpw
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18Wv4A-000JTS-00>