From owner-freebsd-ports Wed Nov 22 13:13:28 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA12012 for ports-outgoing; Wed, 22 Nov 1995 13:13:28 -0800 Received: from maui.com (langfod@waena.mrtc.maui.com [199.4.33.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA12006 for ; Wed, 22 Nov 1995 13:13:22 -0800 Received: (from langfod@localhost) by maui.com (8.6.10/8.6.6) id LAA11608; Wed, 22 Nov 1995 11:16:54 -1000 From: David Langford Message-Id: <199511222116.LAA11608@ maui.com> Subject: Re: cvs commit: ports/mail/elm/scripts pre-configure To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Wed, 22 Nov 1995 11:16:54 -1000 (HST) Cc: ports@freebsd.org In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Nov 22, 95 06:48:29 pm X-blank-line: This space intentionaly left blank. X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1546 Sender: owner-ports@freebsd.org Precedence: bulk >I am stuck on this issue somehow. Basically following Elm configurations >takes sense: > >Elm without MIME and without PGP >Elm without MIME and with PGP: RUN_DEPENDS = pgp >Elm with MIME and without PGP: RUN_DEPENDS = metamail >Elm with MIME and with PGP: RUN_DEPENDS = pgp & metamail > >When user run make it can be easily handled via >environment variables f.e. But it seems that we need to build >4 different Elm packages in any case, so user tuning doesn't >take much sense. >So, we need 4 different directories for Elm in 'mail' subdir. >Does anybody have better idea? I have been wondering for awhile if it would be possible to get make to ASK the user a few simple questions. In the case of Elm it would ask if the user wants the MIME, PGP or MIME+PGP port to be built. (Yes, this is what configure is for but we are trying to make it easy- if someone really wants to do things differently then that can run configure themselves) There are a number of programs that have features that could be compiled in but may not be wanted by all users. This may get a little comlicated as the answer may then require new packages to be installed. I have a couple of ports on back burner that this would be useful on... Just a thought. -- /--------------------------------------------------------------------\ | David Langford - Kihei, Maui, Hawaii - langfod@maui.com | | Maui Research and Technology Center -- Network Administrator | \--------------------------------------------------------------------/