From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 21:29:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93D8316A41F for ; Tue, 30 Aug 2005 21:29:34 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1323C43D45 for ; Tue, 30 Aug 2005 21:29:33 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from [192.168.0.60] ([82.35.113.47]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 30 Aug 2005 22:30:19 +0100 Message-ID: <4314C0DD.2080203@childeric.freeserve.co.uk> Date: Tue, 30 Aug 2005 21:26:05 +0100 From: Chris User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050805) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Aug 2005 21:30:20.0090 (UTC) FILETIME=[05A879A0:01C5ADAA] Subject: making packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 21:29:34 -0000 Hi I'm just checking out how to make my own packages from ports. To see how things work I did ``make package'' in misc/bb. I get this: [snip] ===> Checking if misc/bb already installed ===> bb-1.3.r1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of misc/bb without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 ....................................... bb is indeed already installed. Can I make a package without uninstalling the port? I'm not really overwriting the old port so "FORCE_PKG_REGISTER" doesn't seem appropriate. Even if a port is not installed I don't want to install anything, just make a binary that I can transfer to another computer and install with pkg_add. Are there better ways of making a package? Thanks Chris