svn commit: r485586 - head/java/netty
Mathieu Arnold
mat at FreeBSD.org
Thu Nov 22 16:19:34 UTC 2018
On Thu, Nov 22, 2018 at 03:55:24PM +0300, Dmitry Marakasov wrote:
> * Mathieu Arnold (mat at 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.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20181122/7858d6ed/attachment.sig>
More information about the svn-ports-all
mailing list