Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 18:02:41 +0000
From:      Alan Hicks <ahicks@p-o.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/183964: Fix portlint warnings for mail/dbmail
Message-ID:  <E1Vh1FZ-000DHP-Nw@p-o.co.uk>
Resent-Message-ID: <201311141820.rAEIK0Ro031837@freefall.freebsd.org>

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

>Number:         183964
>Category:       ports
>Synopsis:       Fix portlint warnings for mail/dbmail
>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:   Thu Nov 14 18:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alan Hicks
>Release:        FreeBSD 9.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD schnittke.p-o.co.uk 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Fix portlint warnings for missing PORT_OPTIONS:MDOCS and Conflict too broad
DOCS should install as per setting, currently installed regardless
Conflict warning appears too broad

	
>How-To-Repeat:
	
>Fix:
Apply patch
	

--- dbmail.diff begins here ---
diff -ur dbmail/Makefile dbmail/Makefile
--- dbmail/Makefile	2013-11-06 17:52:42.000000000 +0000
+++ dbmail/Makefile	2013-11-14 17:44:27.000000000 +0000
@@ -20,7 +20,7 @@
 		xmlto:${PORTSDIR}/textproc/xmlto \
 		${LOCALBASE}/share/sgml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-450
 
-CONFLICTS=	dbmail-2.* dbmail22-*
+CONFLICTS=	dbmail-2.* dbmail22-[0-9]*
 
 OPTIONS_DEFINE=	DOCS LDAP SIEVE THREADS
 OPTIONS_DEFAULT=	THREADS
@@ -83,8 +83,10 @@
 		${INSTALL_DATA} ${WRKSRC}/sql/$$f/* ${STAGEDIR}${DATADIR}/$$f; \
 	done
 	@${MKDIR} ${STAGEDIR}${PIDDIR}
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+.endif
 
 .include <bsd.port.mk>
--- dbmail.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?E1Vh1FZ-000DHP-Nw>