# $NetBSD: options.mk,v 1.2 2009/05/17 19:56:58 sno Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.p5-HTML-Mason PKG_SUPPORTED_OPTIONS= fcgi modperl PKG_SUGGESTED_OPTIONS= # empty .include "../../mk/bsd.options.mk" ### ### mod_perl usage for Apache webservers ### .if !empty(PKG_OPTIONS:Mmodperl) . include "../../mk/apache.mk" . if ${PKG_APACHE} == "apache13" DEPENDS+= p5-libapreq>=0.32:../../www/p5-libapreq . include "../../www/ap-perl/buildlink3.mk" . elif ${PKG_APACHE} == "apache2" || ${PKG_APACHE} == "apache22" DEPENDS+= p5-libapreq2-[0-9]*:../../www/p5-libapreq2 . include "../../www/ap2-perl/buildlink3.mk" . endif .endif ### ### FastCGI Support e.g. for lighttpd ### .if !empty(PKG_OPTIONS:Mfcgi) DEPENDS+= p5-FCGI-[0-9]*:../../www/p5-FCGI .endif