From owner-freebsd-ports@FreeBSD.ORG Sun Jan 19 11:54:22 2014 Return-Path: Delivered-To: ports@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 ESMTPS id 4C21D8CB; Sun, 19 Jan 2014 11:54:22 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0EFB116C0; Sun, 19 Jan 2014 11:54:22 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:396f:111a:890d:cdd5]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id AC9384AC2D; Sun, 19 Jan 2014 15:54:20 +0400 (MSK) Date: Sun, 19 Jan 2014 15:54:18 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <2310271684.20140119155418@serebryakov.spb.ru> To: John Marino Subject: Re: How to use ${WRKDIR}, ${PREFIX} and other variables in target names? In-Reply-To: <52DBA78F.30403@marino.st> References: <788996080.20140119140901@serebryakov.spb.ru> <52DBA78F.30403@marino.st> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: ports@FreeBSD.org, marino@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 11:54:22 -0000 Hello, John. You wrote 19 =FF=ED=E2=E0=F0=FF 2014 =E3., 14:23:11: JM> Many ports carry a BSD makefile in the files subdirectory, install that JM> and that makefile does all the internal building. Problem is, I want to use a lot f variables defined by our port system -- commands (like ${RM} and ${TOUCH}), environments (like ${MAKE_ENV} and ${CONFIGURE_ENV}) and passing all of them to sub-make looks very cumbersome, especially ${*_ENV} variables. --=20 // Black Lion AKA Lev Serebryakov