Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2009 23:48:20 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Garrett Cooper <yanefbsd@gmail.com>, skv@FreeBSD.org
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Issue with textproc/docbook-xsl - known issue?
Message-ID:  <790a9fff0901242148j1e82f1a9h22d44b73976b2cf@mail.gmail.com>
In-Reply-To: <7d6fde3d0901241432v139d6bc2t775bcfe91bd05d3e@mail.gmail.com>
References:  <7d6fde3d0901241432v139d6bc2t775bcfe91bd05d3e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 24, 2009 at 4:32 PM, Garrett Cooper <yanefbsd@gmail.com> wrote:
> I get the following error when registering the install for docbook-xsl
> with an up-to-date ports tree:
>
> ===>   Registering installation for docbook-xsl-1.74.0_1
> pkg_create: read_plist: unknown command
> '@commentshare/xsl/docbook/eclipse/eclipse.xsl' (package tools out of
> date?)

>
> I'm not at all sure why pkg_create is substituting @comment in for one
> of the environment variables...
>
> Just wondering if anyone else has seen this issue or not.
>

The problem is caused by PLIST_SUB substituting the wrong value in to the PLIST:

PLIST_SUB+=	ECLIPSE="@comment"

when it should be:

PLIST_SUB+=	ECLIPSE="@comment "

There is a missing space for all of the @comment substitutions.

This is causing pkg_create to see @commentshare... and @comment@dir as
unknow plist commands.

Scot



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