From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:16:43 2014 Return-Path: Delivered-To: freebsd-questions@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 9D3879CD for ; Sun, 9 Nov 2014 19:16:43 +0000 (UTC) Received: from mail.ctzen.com (ctzen.com [192.34.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72CA0C11 for ; Sun, 9 Nov 2014 19:16:42 +0000 (UTC) Received: from helen.ctzen.com (localhost [127.0.0.1]) by mail.ctzen.com (Postfix) with ESMTP id 1AFA088347E for ; Sun, 9 Nov 2014 14:16:41 -0500 (EST) X-Virus-Scanned: amavisd-new at ctzen.com Received: from mail.ctzen.com ([127.0.0.1]) by helen.ctzen.com (helen.ctzen.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HEDrHsCboSdP for ; Sun, 9 Nov 2014 14:16:28 -0500 (EST) Received: from [10.1.212.92] (abilitynet04.a.subnet.rcn.com [209.6.1.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ctzen.com (Postfix) with ESMTPSA id C3870883416 for ; Sun, 9 Nov 2014 14:16:28 -0500 (EST) Message-ID: <545FBD8B.8060306@ctzen.com> Date: Sun, 09 Nov 2014 14:16:27 -0500 From: cs+fbsd@ctzen.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: FreeBSD Questions Subject: pkgng and bash-static Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2014 19:16:43 -0000 Hi, I have in /etc/make.conf: WITH_STATIC_BASH=1 With that setting, I believe the command "portmaster bash" installs the bash-static package (instead of bash). I am trying to use binary packages as much as possible thru pkgng, only fallback to to portmaster when custom switches are needed, such as postfix, and dovecot. Now when I try to do a "pkg upgrade", pkgng wants to install bash again (since bash is installed as bash-static). If I go ahead, pkgng will delete bash-static and install bash. I can't pkg lock bash (since the package name is bash-static). Is there any way to tell pkgng to treat bash-static as bash? So that it won't try to replace it with the dynamic version every time I do pkg upgrade. Thank you. -cs