ports/138363: mail/vpopmail doesn't build with WITH_MAILDROP enabled on a fresh installation

Alexey V.Degtyarev alexey at renatasystems.org
Sun Aug 30 22:20:02 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list