From owner-freebsd-ports@freebsd.org Mon Jul 27 20:05:10 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CDBE9AC131 for ; Mon, 27 Jul 2015 20:05:10 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E644AF53 for ; Mon, 27 Jul 2015 20:05:09 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p57BB9518.dip0.t-ipconnect.de [87.187.149.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 72FF383E402; Mon, 27 Jul 2015 22:04:28 +0200 (CEST) Received: from localhost (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id CC2482A6D; Mon, 27 Jul 2015 22:04:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1438027465; bh=XJy81Ljqj0Iru1vhEuLXbJD/Gez2Rns3Jyfkg4u2l+I=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=LwUd3aFaZVxYfUEMSnLXC3ipHnJp64exhxsUbtSDMBGumRbS5PRVgls0jcipO+ZJt tkGeYY4dWuLh+KgwlHu6m547aiFU+EzbDzTMh3gFcRc68SoAefJtvy2TQjVCrBeEqi qUSpxZ7Kk0w+C2jbVoWxQXuy4B33G09OoqjfOA1b802ufoe503Pu1YpLtoMCHQVLEs Pw/nQlYTqA6p90USPVkMowhh9qQ9NliixICOA3874TtyL4xka+GxctcnAbt/IyDgqm pX++wt22VYw+JS/dI8z3fgE3MXmr0X/v5wa+jL5g9EbqDVU/amsz3Qx3YMo+mtwD2Y BM9ZFQob1Zf9Q== Date: Mon, 27 Jul 2015 22:04:28 +0200 From: Alexander Leidinger To: Boris Samorodov Cc: freebsd-ports@freebsd.org Subject: Re: error message from Freshports after commit? Message-ID: <20150727220428.00002919@Leidinger.net> In-Reply-To: <55B6091F.4000001@passap.ru> References: <20150726152029.Horde.5fJLWJHfi3zZcyZl2BNIRA8@webmail.leidinger.net> <20150726223123.00000f0d@Leidinger.net> <55B5606A.6070408@passap.ru> <20150727115524.Horde.W8uCr4IPga-UMkhOFd3QBtl@webmail.leidinger.net> <55B6091F.4000001@passap.ru> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.16.6; i586-pc-mingw32msvc) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 72FF383E402.A130C X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.1, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1438632269.73035@VGjJIxFSSzn+CO80E68mvA X-EBL-Spam-Status: No X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 20:05:10 -0000 On Mon, 27 Jul 2015 13:34:07 +0300 Boris Samorodov wrote: > 27.07.2015 12:55, Alexander Leidinger =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Quoting Boris Samorodov (from Mon, 27 Jul 2015 > > 01:34:18 +0300): > > > >> Hi, Alexander! > > > >>> a variable expansion as of above, or do I need to remove the > >>> quotes like below > >>> ---snip--- > >>> testtarget: > >>> .if ${QUOTED_VAR} =3D=3D "test" > >>> echo works > >>> .endif > >>> ---snip--- > >> > >> % make QUOTED_VAR=3Dtest > >> echo works > >> works > >> > >> If QUOTED_VAR is not defined, the test fails: > >> > >> % make > >> "Makefile", line 2: Malformed conditional (${QUOTED_VAR} =3D=3D "test") > >> "Makefile", line 4: if-less endif > >> make: fatal errors encountered -- cannot continue > > > > What about this? > > ---snip--- > > testtarget: > > .if defined(${QUOTED_VAR}) && ${QUOTED_VAR} =3D=3D "test" > > echo works > > .endif > > ---snip--- >=20 > Nope: > ----- > % make QUOTED_VAR=3Dtest > % echo $? > 0 > % > ----- What about QUOTED_VAR in make.conf instead? Thanks for testing, Alexander. --=20 http://www.Leidinger.net Alexander@Leidinger.net: PGP 0xC773696B3BAC17DC http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0xC773696B3BAC17DC