From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 2 10:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CE1DA79A for ; Wed, 2 Oct 2013 10:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ACA2C29F5 for ; Wed, 2 Oct 2013 10:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r92Ae1tL039383 for ; Wed, 2 Oct 2013 10:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r92Ae1Yp039262; Wed, 2 Oct 2013 10:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 2 Oct 2013 10:40:01 GMT Resent-Message-Id: <201310021040.r92Ae1Yp039262@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alan Hicks Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 315066CF for ; Wed, 2 Oct 2013 10:36:20 +0000 (UTC) (envelope-from alan@p-o.co.uk) Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD2129A9 for ; Wed, 2 Oct 2013 10:36:19 +0000 (UTC) Received: from mail.p-o.co.uk ([80.229.143.200]) by avasout06 with smtp id YAZ71m0054Ke75s01AZ8TX; Wed, 02 Oct 2013 11:33:08 +0100 Received: from alan by p-o.co.uk with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VRJbh-000Dbp-5X for FreeBSD-gnats-submit@freebsd.org; Wed, 02 Oct 2013 11:24:37 +0100 Message-Id: Date: Wed, 02 Oct 2013 11:24:37 +0100 From: Alan Hicks To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/182566: Fix mail/dbmail not building with DOCS unset X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Alan Hicks List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 10:40:02 -0000 >Number: 182566 >Category: ports >Synopsis: Fix mail/dbmail not building with DOCS unset >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 02 10:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alan Hicks >Release: FreeBSD 9.1-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD schnittke.p-o.co.uk 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:23:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Port does not build package with DOCS unset as there is no documentation in the ports and incorrectly prevents building man pages. >How-To-Repeat: Building package fails when DOCS is unset >Fix: Apply patch to remove DOCS from options and add --enable-manpages to CONFIGURE_ARGS --- dbmail-docs.diff begins here --- --- Makefile.orig 2013-10-02 10:41:52.000000000 +0100 +++ Makefile 2013-10-02 10:45:39.000000000 +0100 @@ -22,7 +22,7 @@ CONFLICTS= dbmail-2.* -OPTIONS_DEFINE= DOCS LDAP SIEVE THREADS +OPTIONS_DEFINE= LDAP SIEVE THREADS OPTIONS_DEFAULT= THREADS SIEVE_DESC= Build with support for Sieve mail sorting language @@ -36,7 +36,8 @@ CFLAGS+= -fPIC ${PTHREAD_CFLAGS} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc +CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc --enable-manpages + MAKE_ARGS+= mandir=${MANPREFIX}/man PORTDOCS= AUTHORS BUGS INSTALL THANKS UPGRADING @@ -73,10 +74,6 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-acinclude.m4 .endif -.if ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+= --enable-manpages -.endif - post-install: ${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist @${MKDIR} ${STAGEDIR}${DATADIR} --- dbmail-docs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: