From owner-freebsd-apache@FreeBSD.ORG Tue Nov 27 09:54:17 2007 Return-Path: Delivered-To: freebsd-apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 690D916A417; Tue, 27 Nov 2007 09:54:17 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.freebsd.org (Postfix) with ESMTP id 277AD13C467; Tue, 27 Nov 2007 09:54:17 +0000 (UTC) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id A2A3612542E; Tue, 27 Nov 2007 10:39:16 +0100 (CET) Date: Tue, 27 Nov 2007 10:39:16 +0100 From: Anton Berezin To: clement@FreeBSD.org Message-ID: <20071127093916.GE83618@heechee.tobez.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Powered-By: FreeBSD http://www.freebsd.org/ User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-apache@FreeBSD.org Subject: bsd.apache.mk strangeness X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 09:54:17 -0000 Hi, I'd like you to pay a little bit of attention to the following thread: http://www.freebsd.org/cgi/mid.cgi?id=474B2313.2090409%40verysmall.org&db=mid It looks like if a user puts "USE_APACHE" into /etc/make.conf, then during portupgrade of perl, everything bombs out because bsd.apache.mk tries to invoke apxs (which is present) while perl is not installed. Since apxs is a perl script, the results are not pretty. While my understanding is that the user is very wrong putting USE_APACHE into /etc/make.conf (correct me if I am wrong here), I would say that we still should not fail with an incomprehensible error message. I am not sure what the exact fix should be. Maybe try and execute perl first, and bail out with something meaningful ("you either have USE_APACHE in /etc/make.conf or your environment or you are trying to build an apache-related port without perl installed")? What do you think? Cheers, \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen