Date: Wed, 02 Oct 2013 11:24:37 +0100 From: Alan Hicks <ahicks@p-o.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/182566: Fix mail/dbmail not building with DOCS unset Message-ID: <E1VRJbh-000Dbp-5X@p-o.co.uk> Resent-Message-ID: <201310021040.r92Ae1Yp039262@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1VRJbh-000Dbp-5X>