From owner-freebsd-ports@FreeBSD.ORG Fri Jul 30 23:33:33 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C43E16A4CF for ; Fri, 30 Jul 2004 23:33:33 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A5843D4C for ; Fri, 30 Jul 2004 23:33:32 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 3043 invoked by uid 89); 30 Jul 2004 23:33:09 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 30 Jul 2004 23:33:09 -0000 Received: from localhost (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id AC341149; Sat, 31 Jul 2004 02:33:06 +0300 (EEST) Received: from it.buh.tecnik93.com ([127.0.0.1]) by localhost (it.buh.tecnik93.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50411-07; Sat, 31 Jul 2004 02:33:06 +0300 (EEST) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id C966D6D; Sat, 31 Jul 2004 02:33:05 +0300 (EEST) Date: Sat, 31 Jul 2004 02:33:05 +0300 From: Ion-Mihai Tetcu To: Adam Weinberger 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> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: ports@FreeBSD.ORG Subject: Re: How to escape ${something} (not to expand it) in a Makefile ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 23:33:33 -0000 On Fri, 30 Jul 2004 15:55:39 -0400 Adam Weinberger 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 > CONFIGURE_ARGS+= --with-delivery-agent=${LOCALBASE}/cyrus/bin/deliver \ > -e -r $${sender} -m $${extension} $${user} $$u > .include > > or something to that effect. Thanks, -- IOnut Unregistered ;) FreeBSD "user"