From owner-freebsd-ports@FreeBSD.ORG Fri Nov 2 02:44:22 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F7AE16A41A for ; Fri, 2 Nov 2007 02:44:22 +0000 (UTC) (envelope-from rnsanchez@wait4.org) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id E89FF13C48D for ; Fri, 2 Nov 2007 02:44:21 +0000 (UTC) (envelope-from rnsanchez@wait4.org) Received: from spunkymail-a12.g.dreamhost.com (sd-green-bigip-145.dreamhost.com [208.97.132.145]) by sumo.dreamhost.com (Postfix) with ESMTP id D7DEE178B36; Thu, 1 Nov 2007 19:18:03 -0700 (PDT) Received: from sauron.lan.box (201-66-158-177.paemt701.dsl.brasiltelecom.net.br [201.66.158.177]) by spunkymail-a12.g.dreamhost.com (Postfix) with ESMTP id B47AE7FAA; Thu, 1 Nov 2007 19:17:33 -0700 (PDT) Date: Fri, 2 Nov 2007 00:17:21 -0200 From: Ricardo Nabinger Sanchez To: infofarmer@FreeBSD.org Message-Id: <20071102001721.62bc2107.rnsanchez@wait4.org> In-Reply-To: <20071101184628.GA20862@amilo.cenkes.org> References: <20071030175348.47c6e060.rnsanchez@wait4.org> <20071030182314.2c0cca7b.rnsanchez@wait4.org> <20071101184628.GA20862@amilo.cenkes.org> Organization: SYS_WAIT4 X-Mailer: Sylpheed 2.4.7 (GTK+ 2.10.14; i386-unknown-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: substitutions in pkg-plist X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 02:44:22 -0000 On Thu, 1 Nov 2007 21:46:49 +0300 Andrew Pantyukhin 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 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@wait4.org Powered by FreeBSD "Left to themselves, things tend to go from bad to worse."