From owner-freebsd-ports@freebsd.org Mon Jul 27 09:57:52 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 5C9089AC34F for ; Mon, 27 Jul 2015 09:57:52 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E94E26A0 for ; Mon, 27 Jul 2015 09:57:51 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wibud3 with SMTP id ud3so132638679wib.1 for ; Mon, 27 Jul 2015 02:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=2X2KIAEXh3EB9j+dGhCXKJ/B5SXmd+AZxFSjvuCEgXs=; b=qoZ+d5hYFiF+joOSlNUkEJ3bt9dHI4tGQE/ebeHjkuOD0/Fbt7/hi6Te6jNgZci+ux qgKhp8fDNBcRubcfOlIOJw3rLL5Fx+/gXciBI0WKqGuGpm/j5xfdlstKcONaa0b6ruJ3 F4OXNj+Cb/6cHFlbReWqJ6sD4rLByZDpUzPDGjTaQj0vPDYCQScQAd5DMFoWOF4xBHN0 bi+AWFDcXMvPRKYNHV9lCSLFvqiDZBd+mppXiZyTERgynZHij/3o1Rg/319+7T245Rvk MFxuE5GppRdV8CZo832fjg30RIFIoVSk54Qwt46HFjuFC1yjdvnnqECrYBtkpUWsLK4v BUnQ== X-Received: by 10.194.108.232 with SMTP id hn8mr28700659wjb.154.1437991070058; Mon, 27 Jul 2015 02:57:50 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id lg6sm26976364wjb.10.2015.07.27.02.57.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 02:57:48 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 27 Jul 2015 11:57:46 +0200 From: Baptiste Daroussin To: Alexander Leidinger Cc: freebsd-ports@freebsd.org Subject: Re: error message from Freshports after commit? Message-ID: <20150727095746.GA20701@ivaldir.etoilebsd.net> References: <20150726152029.Horde.5fJLWJHfi3zZcyZl2BNIRA8@webmail.leidinger.net> <20150726223123.00000f0d@Leidinger.net> <55B5606A.6070408@passap.ru> <20150727115524.Horde.W8uCr4IPga-UMkhOFd3QBtl@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20150727115524.Horde.W8uCr4IPga-UMkhOFd3QBtl@webmail.leidinger.net> User-Agent: Mutt/1.5.23 (2014-03-12) 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 09:57:52 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 27, 2015 at 11:55:24AM +0200, Alexander Leidinger wrote: > Quoting Boris Samorodov (from Mon, 27 Jul 2015 =20 > 01:34:18 +0300): >=20 > > Hi, Alexander! >=20 > >> 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 >=20 > What about this? > ---snip--- > testtarget: > .if defined(${QUOTED_VAR}) && ${QUOTED_VAR} =3D=3D "test" > echo works > .endif > ---snip--- this should work in both. Best regards, Bapt --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlW2AJoACgkQ8kTtMUmk6Eyq1ACfaxfQBQBf3YgOXlP6zXZf5b7X ElEAn1CmEjAiFE9AY/IMxv45g8LDyO+X =fjU+ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--