From owner-freebsd-apache@FreeBSD.ORG Tue Mar 29 21:33:39 2011 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 197A9106566C; Tue, 29 Mar 2011 21:33:39 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id B15EE8FC13; Tue, 29 Mar 2011 21:33:38 +0000 (UTC) Received: from [172.20.1.100] (unknown [172.20.1.100]) by u18-124.dslaccess.de (Postfix) with ESMTPSA id 796D920786; Tue, 29 Mar 2011 23:33:34 +0200 (CEST) Message-ID: <4D92503F.4020004@FreeBSD.org> Date: Tue, 29 Mar 2011 23:33:51 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: "Philip M. Gollucci" References: <4D924088.20206@gmx.de> <4D924868.3020707@p6m7g8.com> In-Reply-To: <4D924868.3020707@p6m7g8.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: "Philip M. Gollucci" , apache@FreeBSD.org Subject: Re: need some hint about how to handle the following issue (new bsd.apache.mk) X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 21:33:39 -0000 On 2011-03-29 23:00, Philip M. Gollucci wrote: > On 03/29/11 20:26, olli hauer wrote: >> Hi all, >> >> working at the moment again on bsd.apache.mk and run into >> an issue which is (for me) a show stopper but also present >> in the actual bsd.apache.mk > If its an existing issue, we don't need to worry about it for the > default switch. IIRC it is, b/c I've seen people complain about this > with sparse ports tree checkouts. > >> >> Given someone has already apache22 installed and fire one of >> the following command inside a port which has USE_APACHE=1.3 >> defined. >> >> - make describe >> - make -V RUN_DEPENDS >> - make -V BUILD_DEPENDS > >> Then the output shows the wrong dependency's. >> >> Has someone a hint how to evaluate these targets? > I don't think there is a way to fix this without guttting most of > bsd.apache.mk into a new infrastructure sytle. > > Ok, then I will stop trying to solve this. I uploaded a new diff and a the rewritten bsd.apache.mk http://people.freebsd.org/~ohauer/diffs/Mk/PR_147009_ports__Mk__bsd.apache.mk_2011-03-29_01.diff http://people.freebsd.org/~ohauer/diffs/Mk/PR_147009_bsd.apache.mk_2011-03-29_01.txt The default is apache22 for anyone who want to test the new version with apache13 as default the following lines should be changed. > -DEFAULT_APACHE_VERSION= 22 > -APACHE_SUPPORTED_VERSION:= ${DEFAULT_APACHE_VERSION} 13 20 # preferred version first > +DEFAULT_APACHE_VERSION= 13 > +APACHE_SUPPORTED_VERSION:= ${DEFAULT_APACHE_VERSION} 20 22 # preferred version first @Philip do you know the reason for the following expression at top of bsd.apache.mk > .if !defined(Apache_Pre_Include) || defined(PORT_IS_MODULE) special the PORT_IS_MODULE. This was added in rev 1.17 and I haven't found another reverence for PORT_IS_MODULE in the old Mk/* files http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.apache.mk.diff?r1=1.16;r2=1.17