diff options
author | obache <obache@pkgsrc.org> | 2011-03-19 13:31:52 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-19 13:31:52 +0000 |
commit | fa81d4c2b17cd94e1ab2fae7c7c3b67291dbfc46 (patch) | |
tree | c96565d4db528f4f613ff8f4aaf772347d3ce6d2 /security/ap-modsecurity2 | |
parent | 98f3ca061d56bc6c6a4b3282a59a2d233cc892fd (diff) | |
download | pkgsrc-fa81d4c2b17cd94e1ab2fae7c7c3b67291dbfc46.tar.gz |
* additional missing clean up after removal of libxml option.
* pass to configure more preferred variables.
Diffstat (limited to 'security/ap-modsecurity2')
-rw-r--r-- | security/ap-modsecurity2/MESSAGE.xml | 9 | ||||
-rw-r--r-- | security/ap-modsecurity2/Makefile | 8 | ||||
-rw-r--r-- | security/ap-modsecurity2/options.mk | 15 |
3 files changed, 6 insertions, 26 deletions
diff --git a/security/ap-modsecurity2/MESSAGE.xml b/security/ap-modsecurity2/MESSAGE.xml deleted file mode 100644 index c214312f8ed..00000000000 --- a/security/ap-modsecurity2/MESSAGE.xml +++ /dev/null @@ -1,9 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE.xml,v 1.1.1.1 2006/11/05 14:33:37 adrianp Exp $ - -In order to use the XML support in your Apache installation, you will need -to add the following to your httpd.conf file: - - LoadFile ${PREFIX}/lib/libxml2.so - -=========================================================================== diff --git a/security/ap-modsecurity2/Makefile b/security/ap-modsecurity2/Makefile index 8456ac610bc..da48b54d8a6 100644 --- a/security/ap-modsecurity2/Makefile +++ b/security/ap-modsecurity2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2009/08/31 07:19:44 seb Exp $ +# $NetBSD: Makefile,v 1.16 2011/03/19 13:31:52 obache Exp $ DISTNAME= modsecurity-apache_2.5.9 PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/apache_//} @@ -20,9 +20,9 @@ USE_TOOLS+= pax USE_LIBTOOL= yes WRKSRC= ${WRKDIR}/${DISTNAME}/apache2 -CONFIGURE_ARGS+= --with-apxs=${PREFIX}/sbin/apxs -CONFIGURE_ARGS+= --with-pcre=${PREFIX} -CONFIGURE_ARGS+= --with-libxml=${PREFIX} +CONFIGURE_ARGS+= --with-apxs=${APXS} +CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre} +CONFIGURE_ARGS+= --with-libxml=${BUILDLINK_PREFIX.libxml2} SUBST_CLASSES+= config SUBST_STAGE.config= post-patch diff --git a/security/ap-modsecurity2/options.mk b/security/ap-modsecurity2/options.mk index 6d0f9e2b10c..f43004ac2d1 100644 --- a/security/ap-modsecurity2/options.mk +++ b/security/ap-modsecurity2/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2008/10/12 12:50:17 adrianp Exp $ +# $NetBSD: options.mk,v 1.4 2011/03/19 13:31:52 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ap-modsecurity2 @@ -7,22 +7,11 @@ PKG_SUPPORTED_OPTIONS= curl .include "../../mk/bsd.options.mk" ### -### Bring in support for libxml2 -### -.if !empty(PKG_OPTIONS:Mxml) -. include "../../textproc/libxml2/buildlink3.mk" -CONFIGURE_ARGS+= --with-libxml -MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC.xml -.else -CONFIGURE_ARGS+= --without-libxml -.endif - -### ### Bring in support for curl ### .if !empty(PKG_OPTIONS:Mcurl) . include "../../www/curl/buildlink3.mk" -CONFIGURE_ARGS+= --with-curl=${PREFIX}/bin/curl +CONFIGURE_ARGS+= --with-curl=${BUILDLINK_PREFIX.curl} .else CONFIGURE_ARGS+= --without-curl .endif |