From owner-freebsd-current@FreeBSD.ORG Tue Oct 22 16:12:41 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 656A4128 for ; Tue, 22 Oct 2013 16:12:41 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E626C254C for ; Tue, 22 Oct 2013 16:12:40 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id z5so2033681lbh.21 for ; Tue, 22 Oct 2013 09:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=oi+fU0WltHqcIDKPPfMKRpxZOEmOMuYN2KASOeqzxgg=; b=MNBe1rcuTHGDoS2EADVmf7MNjJwyCdw+S6xx+GszyEYc9Hq5G9fC9FxnHfIfM6df7/ DNrYb4TWty64j8SJ+nkR6T8teP/Km4uCIXTQI6nj/UP2SsOTp66mm6OhtqhgXEA98kzR 7k3DKPZ9MAwO1l1sFefqmAExcakn9DWXu1mJneRI0gRTQ3K3H+PoB7utZxHPecAKQVtq pvWei9enpDbrlpYafDOR3D5JjUWTBpKVmZlbTwSK1AQrNMSwHG+cUvmE1tevmS/Iuduc nHamzXaobfpwXBtU66Fv1M9jqgFwv9XjaXKHt6zKsA0ykuL3iBhNLVggAByxyrLfAkij 8PFw== X-Received: by 10.152.180.139 with SMTP id do11mr18519773lac.23.1382458358985; Tue, 22 Oct 2013 09:12:38 -0700 (PDT) Received: from [192.168.1.129] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id vk8sm16273970lbb.0.2013.10.22.09.12.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 09:12:38 -0700 (PDT) Message-ID: <5266A3F5.8050005@gmail.com> Date: Tue, 22 Oct 2013 19:12:37 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: bmake vs fmake - ports-mgmt/portconf fails to work Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 16:12:41 -0000 Hi all. I'm playing with 10 beta1 and found that: /usr/ports/editors/vim# make make: "/etc/make.conf" line 17: warning: "WITH_BDB_VER=5" make: "/etc/make.conf" line 18: Need an operator make: "/etc/make.conf" line 17: warning: "_JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_7" make: "/etc/make.conf" line 18: Need an operator make: "/etc/make.conf" line 17: warning: "GHOSTSCRIPT_PORT=print/ghostscript9" make: "/etc/make.conf" line 18: Need an operator make: "/etc/make.conf" line 17: warning: "WITH_CCACHE_BUILD=" make: "/etc/make.conf" line 18: Need an operator make: "/etc/make.conf" line 17: warning: "WITHOUT_X11=" make: "/etc/make.conf" line 18: Need an operator # fmake "/etc/make.conf", line 17: warning: "WITH_BDB_VER=5" "/etc/make.conf", line 17: warning: "_JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_7" "/etc/make.conf", line 17: warning: "GHOSTSCRIPT_PORT=print/ghostscript9" "/etc/make.conf", line 17: warning: "WITH_CCACHE_BUILD=" "/etc/make.conf", line 17: warning: "WITHOUT_X11=" The offending code looks like: # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} .warning "${i:S/%/ /g}" ${i:S/%/ /g} # <- here is the error .endfor .endif # End portconf settings Looks like bmake doesn't allow to insert variable definition from another variable. -- Sphinx of black quartz, judge my vow.