ports/80619: [PATCH] Mk/bsd.port.mk: Just consider PORTDOCS var if NOPORTDOCS is not set

Renato Botelho freebsd at galle.com.br
Wed May 4 16:31:08 UTC 2005


>Number:         80619
>Category:       ports
>Synopsis:       [PATCH] Mk/bsd.port.mk: Just consider PORTDOCS var if NOPORTDOCS is not set
>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:   Wed May 04 16:30:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p9 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 #9: Fri Apr 15 07:52:00 BRST 2005 root at srv1.galle.com.br:/usr/obj/usr/src/sys/GALLE i386

>Description:
When you set PORTDOCS var on a port, and you have NOPORTDOCS set,
bsd.port.mk adds files contained in ${PORTDOCS} to TMPLIST.

I think is a good idea just add this files if NOPORTDOCS is not set.

>How-To-Repeat:
>Fix:

--- bsd.port.mk.orig	Wed May  4 13:08:55 2005
+++ bsd.port.mk	Wed May  4 13:08:30 2005
@@ -4798,7 +4798,7 @@
 
 .if !target(add-plist-docs)
 add-plist-docs:
-.if defined(PORTDOCS)
+.if defined(PORTDOCS) && !defined(NOPORTDOCS)
 	@if ${EGREP} -qe '^@cw?d' ${TMPPLIST} && \
 		[ "`${SED} -En -e '/^@cw?d[ 	]*/s,,,p' ${TMPPLIST} | ${TAIL} -n 1`" != "${PREFIX}" ]; then \
 		${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}; \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list