Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2000 20:53:14 -0500 (CDT)
From:      Conrad Sabatier <conrads@home.com>
To:        (Rahul Dhesi) <dhesi@rahul.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: stop complaining about x11 please (was: Re: Why does PORTS S
Message-ID:  <XFMail.000501205314.conrads@home.com>
In-Reply-To: <20000501203757.5E8EF99F8D@waltz.rahul.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <purpose>.  It's not essential.  Default is off.
>    ## To enable xxx, uncomment the next line.
>    #<symbol> = <rhs>
>    ## yyy is used for <purpose>.  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.
>    <symbol> = <rhs>
>    ## zzz is essential and must not be removed.
>    <symbol> = <rhs>
>    ## 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000501205314.conrads>