Date: Fri, 23 Nov 2018 20:26:45 +0300 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: Mathieu Arnold <mat@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r485586 - head/java/netty Message-ID: <20181123172645.GB37389@hades.panopticon> In-Reply-To: <20181122161928.md57g2b2y7ctvkdb@atuin.in.mat.cc> References: <201811220930.wAM9URj7056367@repo.freebsd.org> <20181122095930.fnfd4gpowkqehznp@atuin.in.mat.cc> <20181122125524.GA37389@hades.panopticon> <20181122161928.md57g2b2y7ctvkdb@atuin.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
* Mathieu Arnold (mat@FreeBSD.org) wrote: > > > > -PLIST_FILES= %%JAVAJARDIR%%/netty-${PORTVERSION}.jar \ > > > > - %%JAVAJARDIR%%/netty.jar > > > > +PLIST_FILES= ${JAVAJARDIR:S,^${PREFIX}/,,}/netty-${PORTVERSION}.jar \ > > > > + ${JAVAJARDIR:S,^${PREFIX}/,,}/netty.jar > > > > > > This seems overly complicated. What is wrong with having just ${JAAAVJARDIR}? > > > > It contains absolute path. I've assumed we don't use these in the plist. > > Paths in the PLIST are either relative to PREFIX or absolute. If a path > is absolute and starts with PREFIX, it is just fine. Got it, I've simplified these. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: https://github.com/AMDmi3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181123172645.GB37389>