The correct way of listing apache modules in RUN_DEPENDS

Ion-Mihai Tetcu itetcu at FreeBSD.org
Fri Jan 29 13:49:17 UTC 2010


On Fri, 29 Jan 2010 13:40:12 +0000
Sevan / Venture37 <venture37 at gmail.com> wrote:

> Hi
> I've been working on fixing the broken sysutils/dtc port & have hit a 
> hurdle, www/mod_log_sql2-dtc is listed as a runtime dependency, in
> the current Makefile it's listed as:
> ${LOCALBASE}/libexec/apache22/mod_log_sql.so:${PORTSDIR}/www/mod_log_sql2-dtc
> 
> I've changed this to
> ${LOCALBASE}/${APACHEMODDIR}/mod_log_sql.so:${PORTSDIR}/www/mod_log_sql2-dtc
> 
> but portlint doesn't like it, so it spits out
> FATAL: Makefile: do not depend on any apache port in *_DEPENDS
> directly. Instead use USE_APACHE=VERSION, where VERSION can be found
> in ${PORTSDIR}/Mk/bsd.apache.mk.
> 
> USE_APACHE= 2.2+ is listed in the Makefile
> 
> Any ideas?

Portlint is a heuristic tool, and as such can be overzealous.

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100129/c5a9a08e/signature.pgp


More information about the freebsd-ports mailing list