need some hint about how to handle the following issue (new bsd.apache.mk)

olli hauer ohauer at gmx.de
Tue Mar 29 20:53:13 UTC 2011


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
> ...


More information about the freebsd-apache mailing list