Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 23:21:15 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r420461 - head/Mk
Message-ID:  <b01b1adc-9671-742b-5bf9-c82ea514d9c3@FreeBSD.org>
In-Reply-To: <201608191309.u7JD9T5j019313@repo.freebsd.org>
References:  <201608191309.u7JD9T5j019313@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19/08/2016 11:09 PM, Mathieu Arnold wrote:
> Author: mat
> Date: Fri Aug 19 13:09:28 2016
> New Revision: 420461
> URL: https://svnweb.freebsd.org/changeset/ports/420461
> 
> Log:
>   Fixup the PLIST_SUB_SED creation.
>   
>   PR:		211995
>   Reported by:	koobs

Submitted by: koobs

>   Sponsored by:	Absolight

Differential Revision: https://reviews.freebsd.org/D7580

Not looking for credit, just correctness (and auto closing reviews)

> Modified:
>   head/Mk/bsd.port.mk   (contents, props changed)
> 
> Modified: head/Mk/bsd.port.mk
> ==============================================================================
> --- head/Mk/bsd.port.mk	Fri Aug 19 13:01:25 2016	(r420460)
> +++ head/Mk/bsd.port.mk	Fri Aug 19 13:09:28 2016	(r420461)
> @@ -1606,9 +1606,9 @@ PLIST_SUB_SED_tmp1= ${PLIST_SUB:C/.*=.{1
>  #  Remove VARS that are too generic
>  #  Remove empty values
>  #  Remove @comment values
> -PLIST_SUB_SED_tmp2= ${PLIST_SUB_tmp1:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:NRESETPREFIX=*:N*="":N*="@comment*}
> +PLIST_SUB_SED_tmp2= ${PLIST_SUB_SED_tmp1:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:NRESETPREFIX=*:N*="":N*="@comment*}
>  #  Handle VARS for which there is a _regex entry
> -PLIST_SUB_SED_tmp3?= ${PLIST_SUB_SED_tmp1:C/(${PLIST_SUB:M*_regex=*:C/_regex=.*/=.*/:Q:S/\\ /|/g:S/\\//g})//:C/(.*)_regex=(.*)/\1=\2/}
> +PLIST_SUB_SED_tmp3?= ${PLIST_SUB_SED_tmp2:C/(${PLIST_SUB:M*_regex=*:C/_regex=.*/=.*/:Q:S/\\ /|/g:S/\\//g})//:C/(.*)_regex=(.*)/\1=\2/}
>  #  Remove quotes
>  #  Replace . with \. for later sed(1) usage
>  PLIST_SUB_SED?= ${PLIST_SUB_SED_tmp3:C/([^=]*)="?([^"]*)"?/s!\2!%%\1%%!g;/g:C/\./\\./g}
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b01b1adc-9671-742b-5bf9-c82ea514d9c3>