[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: substitutions in pkg-plist
- To: infofarmer_(_at_)_FreeBSD_(_dot_)_org
- Subject: Re: substitutions in pkg-plist
- From: Ricardo Nabinger Sanchez <rnsanchez_(_at_)_wait4_(_dot_)_org>
- Date: Fri, 2 Nov 2007 00:17:21 -0200
- Cc: freebsd-ports_(_at_)_freebsd_(_dot_)_org
- Organization: SYS_WAIT4
On Thu, 1 Nov 2007 21:46:49 +0300
Andrew Pantyukhin <infofarmer_(_at_)_FreeBSD_(_dot_)_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_(_dot_)_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_(_dot_)_org
Powered by FreeBSD
"Left to themselves, things tend to go from bad to worse."
_______________________________________________
freebsd-ports_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org