Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Oct 2014 17:07:01 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Mathieu Arnold <mat@FreeBSD.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r370242 - in head/emulators: . hyperv-is hyperv-is/files
Message-ID:  <54340195.60606@marino.st>
In-Reply-To: <55F3F598E11FE4EBDB3743DB@ogg.in.absolight.net>
References:  <201410062258.s96MwoqK063529@svn.freebsd.org> <A1AB28657D5EF303B9BEE5D2@ogg.in.absolight.net> <5433E4F7.9030903@marino.st> <BEA6C4E87B469EEE5D8476C1@ogg.in.absolight.net> <5433F63B.8000506@marino.st> <55F3F598E11FE4EBDB3743DB@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/7/2014 16:59, Mathieu Arnold wrote:
> +--On 7 octobre 2014 16:18:35 +0200 John Marino <freebsd.contact@marino.st>
> | It was my understanding that pkg-plist lists assigned a ${PREFIX} prefix
> | and @cwd was the only way to list files outside of the prefix.  This is
> | why I was surprised that stuff like /var/db/mydir worked.  I don't know
> | when absolute paths got supported.
> 
> Absolute path always were supported with pkg, so people have been using
> those for some time.

Does that mean using them before 1 Sept 2014 broke the port for people
using pkg_install?  Since it's historical now, I'm mainly just curious.
 I would have thought this use would be discouraged if pkg_install
couldn't support it.


> 
> | for me, absolute path is something new, not a baseline.
> | Why would @cwd even exist if it wasn't necessary in the past?
> 
> Well, nothing in the handbook tells you to use @cwd, the only occurrence of
> it is in its own documentation section, and make makeplist will output a
> clean plist, without using @cwd.

I really did actually review the documentation before conceding to use
@cwd, and I didn't find anything.  The @cwd documentation should note
that it's deprecated and to use absolute patch instead (IMO).  It would
be nice if CHANGES mentioned it too.  I checked both sources as I said.

John





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