1 # $NetBSD: options.mk,v 1.2 2007/03/18 10:35:13 adrianp Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.ap-modsecurity2
5 PKG_SUPPORTED_OPTIONS= curl
7 .include "../../mk/bsd.options.mk"
10 ### Bring in support for libxml2
12 .if !empty(PKG_OPTIONS:Mxml)
13 . include "../../textproc/libxml2/buildlink3.mk"
14 CONFIGURE_ARGS+= --with-libxml
15 MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC.xml
17 CONFIGURE_ARGS+= --without-libxml
21 ### Bring in support for curl
23 .if !empty(PKG_OPTIONS:Mcurl)
24 . include "../../www/curl/buildlink3.mk"
25 CONFIGURE_ARGS+= --with-curl=${PREFIX}/bin/curl
27 CONFIGURE_ARGS+= --without-curl