From owner-freebsd-apache@FreeBSD.ORG Tue Mar 29 20:53:13 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 D21F2106566C for ; Tue, 29 Mar 2011 20:53:13 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 28E568FC0C for ; Tue, 29 Mar 2011 20:53:12 +0000 (UTC) Received: (qmail invoked by alias); 29 Mar 2011 20:26:31 -0000 Received: from u18-124.dslaccess.de (EHLO [172.20.1.100]) [194.231.39.124] by mail.gmx.net (mp059) with SMTP; 29 Mar 2011 22:26:31 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX1/euDMfAiDe4KOwAUTyVxZuj0vDpvyGrHE00tdFhM K/2BzspkNzbnB/ Message-ID: <4D924088.20206@gmx.de> Date: Tue, 29 Mar 2011 22:26:48 +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: apache@FreeBSD.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: "Philip M. Gollucci" Subject: 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 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 20:53:13 -0000 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 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? The following snipped shows what I'm trying but does not work > .if defined(AP_CUR_VERSION) > > ... > > . if !target(pretty-print-build-depends-list) || !target(build-depends-list) || !target(pretty-print-run-depends-list) || !target(run-depends-list) || !target(describe) > APACHE_VERSION= ${AP_CUR_VERSION} > . else > . for ver in ${APACHE_SUPPORTED_VERSION} > __VER= ${ver} > . if !defined(APACHE_VERSION) && \ > !(!empty(_APACHE_VERSION_MINIMUM) && ( ${__VER} < ${_APACHE_VERSION_MINIMUM} )) && \ > !(!empty(_APACHE_VERSION_MAXIMUM) && ( ${__VER} > ${_APACHE_VERSION_MAXIMUM} )) > APACHE_VERSION= ${ver} > . endif > . endfor > . endif > > .else > ...