Using "USE_APACHE" in Makefile

Philip M. Gollucci pgollucci at p6m7g8.com
Thu Jun 4 19:56:58 UTC 2009


Jerry wrote:
> I was working on possibly updating the "www/p5-HTML-Mason" port. When
> running 'portlint -A' on the port, I receive the following error
> message:
> 
> 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.
> 
> 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.
> 
> I have read the documentation in 'bsd.apache.mk'; however, I cannot
> seem to get the Makefile written correctly so this error will go away.
> Perhaps someone has a suggestion on how to accomplish it.
> 
> Thanks!
> 

You want

USE_APACHE=13
or
USE_APACHE=13+

etc... see the valid values in bsd.apache.mk

USE_APACHE=yes is deprecated and being replaced with APACHE_PORT=www/apache13 
the default (, etc....)




-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Consultant          - P6M7G8 Inc.                http://p6m7g8.net
Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
Contractor          - PositiveEnergyUSA          http://positiveenergyusa.com
ASF Member          - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


More information about the freebsd-ports mailing list