From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 08:07:49 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 BD35316A41F for ; Thu, 6 Oct 2005 08:07:49 +0000 (GMT) (envelope-from eric.devolder@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2289743D45 for ; Thu, 6 Oct 2005 08:07:48 +0000 (GMT) (envelope-from eric.devolder@gmail.com) Received: by nproxy.gmail.com with SMTP id x4so125198nfb for ; Thu, 06 Oct 2005 01:07:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uQ/d4zcUJMCNpXWNALw09TbZWmqFYCrDgrs8ZbR7vHK/WL2W5CSyDqjmd7LYYAWsfzRNgjtPdB73vp6hfGrjjYCGcrVvIfqsnGIrwNEuusVu3MoRIGSiJyhi1lHqUg3FuXteGJEEYwUucjQ44eG8wVQcXlUqZ+NkQIQKYAgI+10= Received: by 10.48.235.7 with SMTP id i7mr86667nfh; Thu, 06 Oct 2005 01:07:47 -0700 (PDT) Received: by 10.48.3.3 with HTTP; Thu, 6 Oct 2005 01:07:47 -0700 (PDT) Message-ID: Date: Thu, 6 Oct 2005 10:07:47 +0200 From: Eric Devolder To: Chuck Swiger In-Reply-To: <434458C0.7070503@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <434458C0.7070503@mac.com> 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 Reply-To: Eric Devolder List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 08:07:49 -0000 Thank you Chuck, now I better understand what's behind this. Maybe just a side question: Can I "refresh" the files contained in /usr/ports with the one of an older release? for example, I would like to use ports from 4.3 while I'm running a 4.11 for now. Of course, my /usr/ports reflects only ports for 4.11. How can I replace them with the 4.3 ones? - Eric 2005/10/6, Chuck Swiger : > Eric Devolder wrote: > [ ... ] > > My specific questions are: > > * how to fetch the source code of a port? and especially from another r= elease? > > 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 ne= eded > (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 >