The correct way of listing apache modules in RUN_DEPENDS

Sevan / Venture37 venture37 at gmail.com
Fri Jan 29 13:44:06 UTC 2010


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?


Sevan / Venture37


More information about the freebsd-ports mailing list