From owner-freebsd-questions Mon May 1 18:53:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id 6002637BA12 for ; Mon, 1 May 2000 18:53:19 -0700 (PDT) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.9.3/8.9.3) id UAA85576; Mon, 1 May 2000 20:53:15 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000501203757.5E8EF99F8D@waltz.rahul.net> Date: Mon, 01 May 2000 20:53:14 -0500 (CDT) Organization: @Home Network From: Conrad Sabatier To: (Rahul Dhesi) Subject: Re: stop complaining about x11 please (was: Re: Why does PORTS S Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 01-May-00 Rahul Dhesi wrote: > > I know that time is a luxury, which is why I have the 5-minute solution > for you and for every other ports mainteriner. > > Add a section to the Makefile that goes something like this: > > ## DEPENDENCIES > ## This ports depends on xxx, yyy, zzz. > ## xxx is used for . It's not essential. Default is off. > ## To enable xxx, uncomment the next line. > # = > ## yyy is used for . This is quite important and should > ## be left in. However, the port will build without it. Default is > on. > ## To disable yyy, comment out the next line. > = > ## zzz is essential and must not be removed. > = > ## END DEPENDENCIES I think the approach used by a number of ports already, advising the user that certain options can be turned on or off by defining certain variables on the make command line -- the WindowMaker port, for instance, allows -DUSE_GNOME to compile with Gnome support -- is just fine, and much better than asking people to edit Makefiles, which will be overwritten on the next cvsup anyway. Just my $.02 worth. -- Conrad Sabatier http://members.home.net/conrads/ ICQ# 1147270 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message