From owner-freebsd-ports@freebsd.org Mon Jul 27 09:56:03 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 715809AC2FE for ; Mon, 27 Jul 2015 09:56:03 +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 1F722328 for ; Mon, 27 Jul 2015 09:56:02 +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 137F383E402 for ; Mon, 27 Jul 2015 11:55:28 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id 7871C2A6B for ; Mon, 27 Jul 2015 11:55:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1437990924; bh=OT7h46/ocb2s0107YDeuBE0GkzmMjF0VqG3ST3ulHxw=; h=Date:From:To:Subject:References:In-Reply-To; b=urNnW2TrJfeEyKJTS0m0l0huXwoocE8WthSJ+uwST0QP0L73h9KZw1GOd9P3zJOBB 2U928BVTEUkPnyWTObz/gBgHdOOH8cEXyor6YHUk25p1H46IfoNOzZDPqyFWHPjSY5 nSgbmigIxusQjHmvHyz75YyLJyJQPKG2d13zKfqz0kEYHgqEL8EVuqX3duyE8XyVND 1AO1GJfvSiJ0kZipeVRR5yJSW2enWDk0Nvclhd/+KKKTNbofBIiOVO+tNEQH0Nxrr1 aeAKDjkMoMOjwNvgfO62ouk1kOG0Db10LrSzDTJYOBT+oQcB4KMR3LPC59z0YBOGsI TjV5jQ5QBcEIg== Received: (from www@localhost) by webmail.leidinger.net (8.14.9/8.14.4/Submit) id t6R9tOtG064577 for freebsd-ports@freebsd.org; Mon, 27 Jul 2015 11:55:24 +0200 (CEST) (envelope-from Alexander@leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@leidinger.net using -f Received: from 217.197.101.97 ([217.197.101.97]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 27 Jul 2015 11:55:24 +0200 Date: Mon, 27 Jul 2015 11:55:24 +0200 Message-ID: <20150727115524.Horde.W8uCr4IPga-UMkhOFd3QBtl@webmail.leidinger.net> From: Alexander Leidinger To: freebsd-ports@freebsd.org Subject: Re: error message from Freshports after commit? References: <20150726152029.Horde.5fJLWJHfi3zZcyZl2BNIRA8@webmail.leidinger.net> <20150726223123.00000f0d@Leidinger.net> <55B5606A.6070408@passap.ru> In-Reply-To: <55B5606A.6070408@passap.ru> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 137F383E402.A6BBF X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.1, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1438595730.39801@jSMh178xTQ4keHnxiRg4Mg 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 09:56:03 -0000 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} == "test" >> echo works >> .endif >> ---snip--- > > % make QUOTED_VAR=test > echo works > works > > If QUOTED_VAR is not defined, the test fails: > > % make > "Makefile", line 2: Malformed conditional (${QUOTED_VAR} == "test") > "Makefile", line 4: if-less endif > make: fatal errors encountered -- cannot continue What about this? ---snip--- testtarget: .if defined(${QUOTED_VAR}) && ${QUOTED_VAR} == "test" echo works .endif ---snip--- >> Anyone out there with a 8.x or 9.x system who can test the above? > > The system is: > > % uname -a > FreeBSD host.wart.ru 9.3-STABLE FreeBSD 9.3-STABLE #34 r285813: Fri Jul > 24 00:03:24 MSK 2015 bsam@host.wart.ru:/usr/obj/usr/src/sys/HOST i386 Thanks, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0xC773696B3BAC17DC http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0xC773696B3BAC17DC