From owner-freebsd-questions@FreeBSD.ORG Sun Sep 23 18:58:32 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C10CA16A418 for ; Sun, 23 Sep 2007 18:58:32 +0000 (UTC) (envelope-from gabe@dragffy.com) Received: from pixeco.com (pixeco.com [216.70.123.161]) by mx1.freebsd.org (Postfix) with ESMTP id 8C3A013C4A5 for ; Sun, 23 Sep 2007 18:58:32 +0000 (UTC) (envelope-from gabe@dragffy.com) Received: (qmail 5581 invoked from network); 23 Sep 2007 18:58:31 +0000 Received: from 88-105-44-36.dynamic.dsl.as9105.com (HELO ?192.168.1.66?) (88.105.44.36) by pixeco.com with SMTP; 23 Sep 2007 18:58:31 +0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <46F6B5BD.7030307@gmail.com> References: <4D948EA6-3B4F-460F-95E3-19ADFC7B9BAC@dragffy.com> <46F675BD.6020105@FreeBSD.org> <46F679A9.1070600@gmail.com> <0CEC1CAE-3255-4974-8818-E1BB53EFAA40@dragffy.com> <46F6B5BD.7030307@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Gabriel Dragffy Date: Sun, 23 Sep 2007 19:58:17 +0100 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Re: packages compiled from source 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: Sun, 23 Sep 2007 18:58:32 -0000 On 23 Sep 2007, at 19:51, Karol Kwiatkowski wrote: > Please try not to top-post while replying to freebsd mailing list. It > makes it hard to follow reading from the archives. Comments below. > I'm sorry, was I guilty of top-posting? Didn't mean to :P > Gabriel Dragffy wrote: >> On 23 Sep 2007, at 15:35, Karol Kwiatkowski wrote: >>> Kris Kennaway wrote: >>>> Gabriel Dragffy wrote: >>>>> Hi, trying to find out where the complete packge files are for the >>>>> packges that I compiled from ports. I wanted to save these >>>>> somewhere >>>>> so I wouldn't have to recompile them in the future. The handbook >>>>> doesn't shed any light on this:( >>>> >>>> They are not saved separately but you can create backups using >>>> pkg_create -b. >>> >>> In addition, you can use 'package' (or 'package-recursive') target >>> instead of 'install' to create packages automagically. In that case >>> target directory is set by PACKAGES variable. >>> >>> Have a look at ports(7) manpage for details. >> >> Many thanks too all who ansered, that's really helpful. I just had a >> hard time compiling lighttpd and php5 together, so wanted to save >> them >> as packages to spare me the headache in the near future. >> >> Have read the ports man I see that I can change the PACKAGES in the >> environment, but how do I change the environment. Would I edit >> /etc/make.conf at a guess? > > PACKAGES is environmental variable - you'll want to change the > variable, > not the environment ;) > > To change it system wide permanently - yes, editing /etc/make.conf > would > be a good idea. The alternatives are setting it in your shell > environment (depends on what you use) or defining it at install time > (every time) with something like 'make PACKAGES=/some/dir package'. > And > there are probably other methods, too :) Thanks, I'll look in to this, glad that my wild guess wasn't too far wide Regards Gabe