Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 19:01:12 GMT
From:      Evgeni Dimitrov <evgeni.dimitrov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179934: mail/courier fails to build if devel/pkgconf is not present
Message-ID:  <201306241901.r5OJ1C37098197@oldred.freebsd.org>
Resent-Message-ID: <201306241910.r5OJA0iX096432@freefall.freebsd.org>

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

>Number:         179934
>Category:       ports
>Synopsis:       mail/courier fails to build if devel/pkgconf is not present
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 19:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Evgeni Dimitrov
>Release:        9.1-STABLE
>Organization:
TheZone ISP, Bulgaria
>Environment:
FreeBSD [[redacted]] 9.1-STABLE FreeBSD 9.1-STABLE #0: Fri Jun 21 01:58:40 EEST 2013     root@[[redacted]]:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
There is a PKG_CHECK_MODULES macro in ${WRKSRC}/rfc822/configure.in, line 44 that fails to expand if devel/pkgconf is not installed for example when building the port with poudriere. The result is an invalid ${WRKSRC}/rfc822/configure script.
>How-To-Repeat:
Try building mail/courier without having devel/pkgconf installed.
>Fix:
The attached patch adds devel/pkgconf to BUILD_DEPEND.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 321685)
+++ Makefile	(working copy)
@@ -10,7 +10,8 @@
 MAINTAINER=	bsd@dino.sk
 COMMENT=	Courier SMTP IMAP POP3 HTTP mail server suite
 
-BUILD_DEPENDS=	courierauthconfig:${PORTSDIR}/security/courier-authlib-base
+BUILD_DEPENDS=	courierauthconfig:${PORTSDIR}/security/courier-authlib-base \
+		pkg-config:${PORTSDIR}/devel/pkgconf
 LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 RUN_DEPENDS=	courierauthconfig:${PORTSDIR}/security/courier-authlib-base \
 		${LOCALBASE}/share/sysconftool/sysconftool:${PORTSDIR}/devel/sysconftool \


>Release-Note:
>Audit-Trail:
>Unformatted:



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