From owner-freebsd-ports@FreeBSD.ORG Sun Apr 1 16:59:50 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A697106566B; Sun, 1 Apr 2012 16:59:50 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 342128FC12; Sun, 1 Apr 2012 16:59:49 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2116963bkc.13 for ; Sun, 01 Apr 2012 09:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=H3avH9jhpSbaqVhc/SIuZOdvbcTRp9AyTgKQny8HInE=; b=fDBdCcVTECA4yMYAKiUN5FFS+BmOM7RbtC3VdL0sk3zAM9B2w9brc/6GLkliXI9Rna yQahtVLtbmz/mFLj0Jdhm/L1fOrtT/UHqGoAD71MS86BtT8po62VjEQQSO98ErcKSpf4 lm4jfZfoPLE0ywXOpTlr5QIklsyz/sFdr314Pe2mzRlsVeH/W/WjEou7gCbb9meRm8GF W0UPZhf8dGuLm2Exr708Zdj0py/MkxdeQ4n/t1YHI56x8KW974k9Kt5bLDVdOPZ6rTbO OCe8S/GCiDyEMQyBBKeN+0IT2IbL1DiWAvuGiw3/bFnbPPFaZO5GkXkC+vNzW+oEt5iL qc0w== Received: by 10.204.128.65 with SMTP id j1mr2292561bks.74.1333299588182; Sun, 01 Apr 2012 09:59:48 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.202.142 with HTTP; Sun, 1 Apr 2012 09:59:18 -0700 (PDT) In-Reply-To: <498407961.20120401205358@serebryakov.spb.ru> References: <792848519.20120401165840@serebryakov.spb.ru> <4F785246.60804@freebsd.org> <498407961.20120401205358@serebryakov.spb.ru> From: Chris Rees Date: Sun, 1 Apr 2012 17:59:18 +0100 X-Google-Sender-Auth: DaJGdJ44CSYtCRI_io25GCKdhNg Message-ID: To: lev@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, Julien Laffaye 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 16:59:50 -0000 On 1 April 2012 17:53, Lev Serebryakov wrote: > Hello, Julien. > You wrote 1 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2012 =D0=B3., 17:04:06: > >>> =C2=A0 =C2=A0In case of static build of ported program, port need to ha= ve >>> BUILD_DEPENDS on libraries. LIB_DEPENDS is not suitable here, because >>> inc ase of static linkage, there will no dependency on livbrary in >>> runtime. >>> =C2=A0 =C2=A0But BUILD_DEPENDS search for files at absolute pathname or= for >>> executables. >>> =C2=A0 =C2=A0Is it possible to express build-time-only dependency on li= brary? >> BUILD_DEPENDS=3D${LOCALBASE}/lib/libfoo.a:${PORTSDIR}/foo/libfoo ? > =C2=A0It works, but here are other problem: if iconv or gettext or > something like this are used, they added after all libs anyway :( Well, don't iconv and gettext require it? In that case it needs registering. Otherwise iconv and gettext should have their deps fixed.... Chris