Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2014 10:10:23 +0200
From:      olli hauer <ohauer@gmx.de>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r368809 - head/Mk
Message-ID:  <541FD96F.1050803@gmx.de>
In-Reply-To: <201409220630.s8M6Ulvh074876@svn.freebsd.org>
References:  <201409220630.s8M6Ulvh074876@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-09-22 08:30, Baptiste Daroussin wrote:
> Author: bapt
> Date: Mon Sep 22 06:30:46 2014
> New Revision: 368809
> URL: http://svnweb.freebsd.org/changeset/ports/368809
> QAT: https://qat.redports.org/buildarchive/r368809/
> 
> Log:
>   PLIST_DIRS and PLIST_DIRSTRY are now equivalent and both emitting @dir entries
>   (Note that PLIST_DIRSTRY) is now deprecated
> 
> Modified:
>   head/Mk/bsd.port.mk
> 
> Modified: head/Mk/bsd.port.mk
> ==============================================================================
> --- head/Mk/bsd.port.mk	Mon Sep 22 06:28:15 2014	(r368808)
> +++ head/Mk/bsd.port.mk	Mon Sep 22 06:30:46 2014	(r368809)
> @@ -5116,11 +5116,8 @@ generate-plist: ${WRKDIR}
>  		${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \
>  	fi
>  
> -.for dir in ${PLIST_DIRS}
> -	@${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dirrm ,' >> ${TMPPLIST}
> -.endfor
> -.for dir in ${PLIST_DIRSTRY}
> -	@${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dirrmtry ,' >> ${TMPPLIST}
> +.for dir in ${PLIST_DIRS} ${PLIST_DIRSTRY}
> +	@${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dir ,' >> ${TMPPLIST}
>  .endfor
>  
>  .if defined(USE_LINUX_PREFIX)
> 

If the port uses PORT(DOCS|EXAMPLES)=* pkg create complains with dirrm is deprectated.

Can you review this patch

http://people.freebsd.org/~ohauer/diffs/bsd.port.mk_20140922.diff

-- 
olli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541FD96F.1050803>