From owner-freebsd-current@FreeBSD.ORG Thu Sep 6 13:35:13 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E936106566B; Thu, 6 Sep 2012 13:35:13 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 924CF8FC14; Thu, 6 Sep 2012 13:35:06 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q86DYsVY099164; Thu, 6 Sep 2012 07:35:00 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q86DYfPw043783; Thu, 6 Sep 2012 07:34:41 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: "O. Hartmann" In-Reply-To: <504885AA.1000300@mail.zedat.fu-berlin.de> References: <5047659D.8000107@mail.zedat.fu-berlin.de> <20120906121639.4b7d894d089b2ddeb42f31b4@alkumuna.eu> <504885AA.1000300@mail.zedat.fu-berlin.de> Content-Type: text/plain; charset="us-ascii" Date: Thu, 06 Sep 2012 07:34:41 -0600 Message-ID: <1346938481.59094.117.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd >> Current FreeBSD" , freebsd-ports@freebsd.org, Matthieu Volat Subject: Re: Help. Porting "FreeOCL" fails (atomic_ops.h missing, CLANG++ libc++ issues ...) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 06 Sep 2012 13:35:13 -0000 On Thu, 2012-09-06 at 13:14 +0200, O. Hartmann wrote: > I tried to add > > RUN_DEPENDS= > ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops > > to my provided Makefile, but this doesn't install the port > devel/libatomic_ops. > This is weird and inconsistent. I follow exact the steps suggested in > the Porter's handbook, the _DEPENDS= section. The above RUN_DEPENDS= > tag > should ensure a check for the existence of the static library > > /usr/local/lib/libatomic_ops.a > > and if not existent, then install it. It doesn't work. Unfortunately, > LIB_DEPENDS is considered for "shared libraries", so it isn't > suitable. > But LIB_DEPENDS get recognized, even if it fails, while RUN_DEPENDS > seems not to be touched by the build process anyway ... I am SO not a ports expert, but I think maybe for a static lib you need BUILD_DEPENDS because it has to be available at build-time rather than run-time. -- Ian