From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 22:50:41 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 ADCAB16A41F for ; Wed, 5 Oct 2005 22:50:41 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C55543D45 for ; Wed, 5 Oct 2005 22:50:41 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.71.31]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0INW001WUSSGZTYI@vms048.mailsrvcs.net> for freebsd-questions@freebsd.org; Wed, 05 Oct 2005 17:50:40 -0500 (CDT) Date: Wed, 05 Oct 2005 18:50:40 -0400 From: Chuck Swiger In-reply-to: To: Eric Devolder Message-id: <434458C0.7070503@mac.com> Organization: The Courts of Chaos MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Cc: freebsd-questions@freebsd.org Subject: Re: how to recompile a port in a clean maneer? 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: Wed, 05 Oct 2005 22:50:41 -0000 Eric Devolder wrote: [ ... ] > My specific questions are: > * how to fetch the source code of a port? and especially from another release? cd /usr/ports/mail/postfix # or whatever port you want make fetch If you want to fetch a different version of the port, you can change the Makefile in the port's directory, along with anything else that may be needed (the patches under files will need to be adjusted, if any, etc). > * how to unpack, change the makefile, compile? make extract cd work cd _path_ # this depends on the port and version, then edit files # cd back to the top-level port directory make > * how to package it again? make package -- -Chuck