substitutions in pkg-plist

Ricardo Nabinger Sanchez rnsanchez at wait4.org
Thu Nov 1 19:44:22 PDT 2007


On Thu, 1 Nov 2007 21:46:49 +0300
Andrew Pantyukhin <infofarmer at FreeBSD.org> wrote:

> On Tue, Oct 30, 2007 at 06:23:14PM -0200, Ricardo Nabinger Sanchez
> wrote:
> > On Tue, 30 Oct 2007 17:53:48 -0200
> > Ricardo Nabinger Sanchez <rnsanchez at wait4.org> wrote:
> > 
> > > This works, but it is not clear why %%whatever%% macros fail
> > > silently.
> > 
> > The point is not exactly "fail silently", but why the %D prefixing is
> > explicitly necessary?
> 
> A single path alone on a line is a shorthand for %D/path. In case
> of @exec, @unexec, @cwd and other commands there is no such
> shorthand.

What I found out was that 6.1-RELEASE has ETCDIR, whereas 6.2-RELEASE
don't.  In order to get my port working, I added similar definitions
(ETCDIR?= ...) and also relevant files for substitution.  Now I'm using 
%D/%%ETCDIR%% successfully.  :)

-- 
Ricardo Nabinger Sanchez                   rnsanchez at wait4.org
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."


More information about the freebsd-ports mailing list