4d271a3b15
XXX some package can do either libapreq{,2} and so it should embed a version as well, but seems to have issues
23 lines
579 B
Makefile
23 lines
579 B
Makefile
# $NetBSD: options.mk,v 1.5 2017/03/11 23:21:11 maya Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-HTML-Mason
|
|
PKG_SUPPORTED_OPTIONS= fastcgi 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"
|
|
DEPENDS+= p5-${APACHE_PKG_PREFIX}-libapreq2-[0-9]*:../../www/p5-libapreq2
|
|
.include "../../www/ap2-perl/buildlink3.mk"
|
|
.endif
|
|
|
|
###
|
|
### FastCGI Support e.g. for lighttpd
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mfastcgi)
|
|
DEPENDS+= p5-FCGI-[0-9]*:../../www/p5-FCGI
|
|
.endif
|