Skip site navigation (1)Skip section navigation (2)
Date:      31 Aug 2009 02:15:29 +0400
From:      "Alexey V.Degtyarev" <alexey@renatasystems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138363: mail/vpopmail doesn't build with WITH_MAILDROP enabled on a fresh installation
Message-ID:  <20090830221529.25032.qmail@hs-9.renatasystems.org>
Resent-Message-ID: <200908302220.n7UMK1lp043352@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>Number:         138363
>Category:       ports
>Synopsis:       mail/vpopmail doesn't build with WITH_MAILDROP enabled on a fresh installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 30 22:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 7.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD renatasystems.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
mail/vpopmail doesn't build with maildrop on a fresh installation:

===>  Configuring for vpopmail-5.4.27
... [skip] ...
checking whether spamassassin is enabled... no
checking whether maildrop is enabled... yes
checking whether we can locate the maildrop program... no
configure: error: Unable to find your maildrop program, specify --enable-maildrop-prog=/full/path/to/maildrop
===>  Script "configure" failed unexpectedly.

This is because mail/maildrop only set as RUN_DEPENDS, but should be listed in
BUILD_DEPENDS as well.
>How-To-Repeat:
$ cd /usr/ports/mail/vpopmail && WITH_MAILDROP=yes make
>Fix:
List maildrop as BUILD_DEPENDS.
	

--- vpopmail.patch begins here ---
diff -u -r vpopmail.orig/Makefile vpopmail/Makefile
--- vpopmail.orig/Makefile	2009-08-31 02:03:38.000000000 +0400
+++ vpopmail/Makefile	2009-08-31 02:03:59.000000000 +0400
@@ -222,6 +222,7 @@
 CONFIGURE_ARGS+=	--enable-maildrop=y \
 			--enable-maildrop-prog=${LOCALBASE}/bin/maildrop
 RUN_DEPENDS+=	maildrop:${PORTSDIR}/${MAILDROP_PORT}
+BUILD_DEPENDS+=	maildrop:${PORTSDIR}/${MAILDROP_PORT}
 MAILDROP_FILES=		${WRKSRC}/maildrop/maildroprc.v1 \
 			${WRKSRC}/maildrop/maildroprc.v2
 PLIST_SUB+=	MAILDROP=""
--- vpopmail.patch ends here ---


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



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