From owner-freebsd-ports Fri Sep 7 20:20: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8AEF137B405 for ; Fri, 7 Sep 2001 20:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f883K2J93965; Fri, 7 Sep 2001 20:20:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 7 Sep 2001 20:20:02 -0700 (PDT) Message-Id: <200109080320.f883K2J93965@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Pete Fritchman Subject: Re: ports/30430: package of mozilla fails if configured w/ --disable-mailnews Reply-To: Pete Fritchman Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/30430; it has been noted by GNATS. From: Pete Fritchman To: parv_@yahoo.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/30430: package of mozilla fails if configured w/ --disable-mailnews Date: Fri, 7 Sep 2001 23:14:34 -0400 ++ 07/09/01 22:57 -0400 - parv_@yahoo.com: | w/ default Makefile, package is made ok. | | package of mozilla fails if configured w/ --disable-mailnews instead of | being enabled w/ this message (btw, install was okay)... Like you say, this probably happens with many many ports (changing/adding a configure option and seeing `make package' fail). In most cases, it would be appropriate to add a WITHOUT_FOO hook in the Makefile and use PLIST_SUB (if the WITHOUT_FOO hook is specified, expand %%FOO%% to @comment, otherwise make it ''). Then just prefix everything specific to 'FOO' with %%FOO%% in pkg-plist. | don't know, but a general solution would be much appreaciated when | the software (& related files) installed are not what "make | package" would expect as it happens w/ almost every port. I don't think a 'general solution' would be possible (due to the variety of configuration/installation methods by all 5800+ ports in the tree). -pete -- Pete Fritchman finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message