Date: Mon, 23 Jan 2017 20:24:58 +0100 From: Guido Falsi <madpilot@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: r432224 - in head/devel/fossil: . files Message-ID: <d0df9ef4-fb90-c3e7-9235-6b116c1b3c77@FreeBSD.org> In-Reply-To: <c28995b8-7f81-c539-d920-e25f42b28e83@FreeBSD.org> References: <201701231419.v0NEJGTa048771@repo.freebsd.org> <c28995b8-7f81-c539-d920-e25f42b28e83@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/23/17 18:24, Mathieu Arnold wrote: > Le 23/01/2017 à 15:19, Guido Falsi a écrit : >> -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >> +WRKSRC= ${WRKDIR}/${PORTNAME:C/^(.).*/\1/:tu}${PORTNAME:C/^.(.*)/\1/}_2017-01-16_205854_1669115ab9 > > > Took me a while to understand what this was doing, and that it seems it > now takes 51 chars to write "Fossil" :-) > I wanted to base it on PORTNAME and could not find an easier way to explain it to make. Maybe just hardcoding "Fossil" was more reasonable. -- Guido Falsi <madpilot@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0df9ef4-fb90-c3e7-9235-6b116c1b3c77>