From owner-freebsd-ports@FreeBSD.ORG Sun Apr 1 13:04:02 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D041106564A; Sun, 1 Apr 2012 13:04:02 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E313B8FC19; Sun, 1 Apr 2012 13:04:01 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1807846wgb.31 for ; Sun, 01 Apr 2012 06:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Bh+ynfyo1zJ/dcrfuOISr/L1pCGcHSzK+Uva8YrfyO8=; b=PQBjw2Y5vWJFEUe5hPqzgTWixs6wUD5jULhWQvPou1ADDq6nL8eFtToo7UZ7hsoNt8 82M6qw0xCABbX1vD3RQR1hpvQUwZvYWscz1Ao0gwg/sMOWrhkDkgmKOgarvB+Be8NUaS uddJOJErVkxbLLh8f6OMdAUKRHF0MtNrBLEpePWRrTiMi0IexhUpy7w09KOQUywHmEXk FbeeJfg0r9An7YkdJfzjE5v5Eqx5sOAJkWDk6hxF8JuAazveRHDCjhfq0zLbH3uP5TQ2 BgAHWm08OLUF7jUC1gsaiZu2XZE72WM9pIxzQjEWYnMdVN1LqKD+vl8/JpNcQp0EYE7p u7Gg== Received: by 10.180.96.228 with SMTP id dv4mr15645264wib.14.1333285440501; Sun, 01 Apr 2012 06:04:00 -0700 (PDT) Received: from [192.168.1.66] (lantea.jlaffaye.net. [109.190.125.169]) by mx.google.com with ESMTPS id e6sm24979644wix.8.2012.04.01.06.03.58 (version=SSLv3 cipher=OTHER); Sun, 01 Apr 2012 06:03:59 -0700 (PDT) Sender: Julien Laffaye Message-ID: <4F785246.60804@freebsd.org> Date: Sun, 01 Apr 2012 15:04:06 +0200 From: Julien Laffaye User-Agent: Thunderbird/7.0.1 MIME-Version: 1.0 To: lev@FreeBSD.org References: <792848519.20120401165840@serebryakov.spb.ru> In-Reply-To: <792848519.20120401165840@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: BUILD_DEPENDS and libraries -- how to express build-time-only dependency on library? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 13:04:02 -0000 On 4/1/2012 2:58 PM, Lev Serebryakov wrote: > Hello, Ports. > > In case of static build of ported program, port need to have > BUILD_DEPENDS on libraries. LIB_DEPENDS is not suitable here, because > inc ase of static linkage, there will no dependency on livbrary in > runtime. > But BUILD_DEPENDS search for files at absolute pathname or for > executables. > Is it possible to express build-time-only dependency on library? > > BUILD_DEPENDS=${LOCALBASE}/lib/libfoo.a:${PORTSDIR}/foo/libfoo ?