From owner-freebsd-ports@FreeBSD.ORG Thu Sep 6 11:30:05 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A60C10656D0 for ; Thu, 6 Sep 2012 11:30:05 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 2246C8FC14 for ; Thu, 6 Sep 2012 11:30:04 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-ports@FreeBSD.org with esmtp (envelope-from ) id <1T9aHc-0008RQ-3U>; Thu, 06 Sep 2012 13:30:04 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-ports@FreeBSD.org with esmtpsa (envelope-from ) id <1T9aHb-0000wU-Vh>; Thu, 06 Sep 2012 13:30:04 +0200 Message-ID: <50488937.8050604@mail.zedat.fu-berlin.de> Date: Thu, 06 Sep 2012 13:29:59 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120810 Thunderbird/14.0 MIME-Version: 1.0 To: Ports FreeBSD X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig97483A75D7D2C45AE7CA4F3F" X-Originating-IP: 130.133.86.198 Cc: Subject: RUN_DEPENDS=: not respected? Bug? 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: Thu, 06 Sep 2012 11:30:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig97483A75D7D2C45AE7CA4F3F Content-Type: multipart/mixed; boundary="------------060506010408090707050407" This is a multi-part message in MIME format. --------------060506010408090707050407 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Working on a small port for OpenCL support for CPUs via "freeocl", I run into a problem (runing FreeBSD 10.0-CURRENT). The port requires devel/libatomic_ops, which installs a static library /usr/lcoal/lib/libatomic_ops.a. Following the instructions in the Porter's Handbook for FreeBSD, I added a line RUN_DEPENDS=3D ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops It seems that this line never gets touched! It never take any action as described in the handbook. The logic in the handbook is quite clear. Even if the file isn't found, there should be a installation triggered! But it doens't. I tested my point with the tag LIB_DEPENDS=3D which is for shared libraries according to the handbook. The build and installation process always gets involved and triggered, even if it fails later on, when the requiring port doesn't find the shared library it would expect. It seems this is a bug according to the Porter's Handbook. Oliver --------------060506010408090707050407 Content-Type: text/plain; charset=us-ascii; name="Makefile" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Makefile" PORTNAME=3D freeocl PORTVERSION=3D 0.3.6 CATEGORIES=3D devel MAINTAINER=3D ports@FreeBSD.org COMMENT=3D FreeOCL - a free OpenCL implementation for CPU #MASTER_SITES=3D http://freeocl.googlecode.com/files/FreeOCL-0.3= =2E6-src.tar.gz MASTER_SITES=3D http://freeocl.googlecode.com/files/ DISTNAME=3D FreeOCL-${PORTVERSION}-src WRKSRC=3D ${WRKDIR}/FreeOCL-${PORTVERSION}-Source USE_CMAKE=3D YES CMAKE_BUILD_TYPE=3D Release USE_GCC=3D 4.6+ #CXXFLAGS+=3D -stdlib=3Dlibc++ =2Einclude RUN_DEPENDS=3D ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libato= mic_ops =2Einclude --------------060506010408090707050407-- --------------enig97483A75D7D2C45AE7CA4F3F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQSIk7AAoJEOgBcD7A/5N895AH/0oWwOHSfl5NPcPbcv3dd2z/ 9V0ycsiP8PdWGvff4m4YG3FvXEFD6ZE5PXWF2qJGXjFlqNFZu/Q8Jbn9dnFPp0As 1VVHo6es6mZyUpBM53CxFHH586nZWEVTj5PaaRErn7DZ0tmnnbTCTnUqPBlCi2cP Q1RRE49CId4lR+hwk/duZvCDDUiJXNIn/6sUqUVZl1/4oIyEBVqnE5ubWdJ3RLWu iMaa+W9oBTrnB161UeGCCY8M/83GLUzwiPCdadMAUas1nf7P11+L6FlTyD1rwBuu dluo75rEk6qpSsN/oYwelnlkttgAkamUP5lbPaPByCxCYYB79mdf3KEauDHjFfU= =4+Va -----END PGP SIGNATURE----- --------------enig97483A75D7D2C45AE7CA4F3F--