From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 07:18:50 2008 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 A284E1065674 for ; Wed, 17 Dec 2008 07:18:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 723B08FC14 for ; Wed, 17 Dec 2008 07:18:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 5DAB5AFBC02; Tue, 16 Dec 2008 22:18:49 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 17 Dec 2008 08:18:47 +0100 User-Agent: KMail/1.9.7 References: <494856EB.5000608@ibctech.ca> <1889F6A8DE3863AB25C59556@Macintosh-2.local> In-Reply-To: <1889F6A8DE3863AB25C59556@Macintosh-2.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812170818.48243.fbsd.questions@rachie.is-a-geek.net> Cc: Paul Schmehl , Steve Bertrand Subject: Re: lang/php5 port 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, 17 Dec 2008 07:18:50 -0000 On Wednesday 17 December 2008 04:33:51 Paul Schmehl wrote: > --On December 16, 2008 7:33:31 PM -0600 Steve Bertrand > > wrote: > > One of the reasons I've had to edit Makefile manually was because a > > client needed JPEG support. > > > > At the time, `make config' didn't provide that option. > > You should *never* need to edit a Makefile in a port. (Well, extremely > rarely.) More often then you think. I encourage understanding the system and editing to suit your needs. It's a transparent system, unlike many others out there, so you might as well make good use of it. Though a lot of things can be handled by: 1) environment variables (temporary) 2) /etc/make.conf (permanent) 3) Makefile.local (permanent, inclusion is at bsd.port.pre.mk stage which allows you to override hardcoded settings) It is needed in some cases to edit the makefile to fix things or remove dependencies that the maintainer didn't find necessary to remove or even to fix bugs. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.