Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2004 02:33:05 +0300
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: How to escape ${something} (not to expand it) in a Makefile ?
Message-ID:  <20040731023305.1b99ede3@it.buh.tecnik93.com>
In-Reply-To: <20040730195539.GP80286@toxic.magnesium.net>
References:  <20040730223646.5db579fe@it.buh.tecnik93.com> <20040730195539.GP80286@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Jul 2004 15:55:39 -0400
Adam Weinberger <adamw@FreeBSD.org> wrote:

> >> (07.30.2004 @ 1536 PST): Ion-Mihai Tetcu said, in 0.7K: <<
> > Hi,
> > 
> > 
> > I'm out of ideas with this. Bellow I need to have ${LOCALBASE} expanded
> > to its value and the rest of $... to be passed verbatim.
> > Each combination of quoting and escaping I've tried the last 2 1/2 hours
> > dons't work. Could someone please point me to the right doc to read or
> > explain how does this work ?
> > 
> > RUN_DEPENDS+='--with-delivery-agent=${LOCALBASE}/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} $u'
> >> end of "How to escape ${something} (not to expand it) in a Makefile ?" from Ion-Mihai Tetcu <<
> 
> First of all, that's not a valid use of RUN_DEPENDS. That looks like
> stuff that should be added to CONFIGURE_ARGS.

And it is, only that I did a copy/paste of the things after the = and
added the left side by hand in the email.

> 
> Try:
> 
> .include <bsd.port.pre.mk>
> CONFIGURE_ARGS+= --with-delivery-agent=${LOCALBASE}/cyrus/bin/deliver \
> 		 -e -r $${sender} -m $${extension} $${user} $$u
> .include <bsd.port.post.mk>
> 
> or something to that effect.

Thanks,

-- 
IOnut
Unregistered ;) FreeBSD "user"



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