Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2011 22:26:48 +0200
From:      olli hauer <ohauer@gmx.de>
To:        apache@FreeBSD.org
Cc:        "Philip M. Gollucci" <pgollucci@FreeBSD.org>
Subject:   need some hint about how to handle the following issue (new bsd.apache.mk)
Message-ID:  <4D924088.20206@gmx.de>

next in thread | raw e-mail | index | archive | help
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
> ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D924088.20206>