From owner-freebsd-ports@FreeBSD.ORG Wed Dec 31 12:13:32 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3353B5A3 for ; Wed, 31 Dec 2014 12:13:32 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3574661D3 for ; Wed, 31 Dec 2014 12:13:31 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y6I9X-00056O-PS for freebsd-ports@freebsd.org; Wed, 31 Dec 2014 13:13:27 +0100 Received: from a91-154-115-217.elisa-laajakaista.fi ([91.154.115.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Dec 2014 13:13:27 +0100 Received: from rakuco by a91-154-115-217.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Dec 2014 13:13:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Raphael Kubo da Costa Subject: Custom PREFIX + USE_LDCONFIG=yes creates leftovers Date: Wed, 31 Dec 2014 14:13:16 +0200 Lines: 19 Message-ID: <86oaqk3tlv.fsf@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: a91-154-115-217.elisa-laajakaista.fi User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (berkeley-unix) Cancel-Lock: sha1:W6gSBkwyF7q4usu4xgudDZTMh7o= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 12:13:32 -0000 I've been testing cad/brlcad as part of my work to update CMake to 3.1.0. One thing I noticed with "poudriere bulk -t" (regardless of the CMake version) is that it fails at the end with leftovers: ====>> Error: Files or directories left over: @dir /usr/local/libdata/ldconfig This seems to be caused by brlcad's use of a custom PREFIX, PREFIX?= ${LOCALBASE}/${PORTNAME} NO_MTREE= yes since USE_LDCONFIG causes a file to be created outside the PREFIX. USE_LDCONFIG's documentation in bsd.port.mk indicates it's supposed to write its files to ${PREFIX} instead of ${LOCALBASE}, but r357076 says otherwise. What's the right way to fix this?