aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-04-11 22:33:37 +0800
committeraraujo <araujo@FreeBSD.org>2008-04-11 22:33:37 +0800
commit976b7a6dca7d22f4ab3bfc0c35c2121c427b6638 (patch)
tree2a6c1e7c6e9a731f738c4e557b0db959d4febdca /www
parent13196be76ad8ff88ee71f24bf58fd9dbefec1dc4 (diff)
downloadfreebsd-ports-gnome-976b7a6dca7d22f4ab3bfc0c35c2121c427b6638.tar.gz
freebsd-ports-gnome-976b7a6dca7d22f4ab3bfc0c35c2121c427b6638.tar.zst
freebsd-ports-gnome-976b7a6dca7d22f4ab3bfc0c35c2121c427b6638.zip
- Add correct support to build always with libxml2.
- Bump PORTREVISION. Reported by: Fabien Debuire <yayien@gmail.com> (via private mail), Dariusz Rubinkiewicz <dr@debesciak.net> (via private mail)
Diffstat (limited to 'www')
-rw-r--r--www/mod_security2/Makefile6
-rw-r--r--www/mod_security21/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/www/mod_security2/Makefile b/www/mod_security2/Makefile
index ab7e3439cbe0..5c6ca710f4d8 100644
--- a/www/mod_security2/Makefile
+++ b/www/mod_security2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_security2
PORTVERSION= 2.1.7
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= http://www.modsecurity.org/download/
DISTNAME= ${PORTNAME:S/_//:S/2//}-apache_${PORTVERSION}
@@ -15,9 +16,12 @@ MAINTAINER= araujo@FreeBSD.org
COMMENT= An intrusion detection and prevention engine
USE_APACHE= 2.0+
-USE_GNOME= libxml2
AP_FAST_BUILD= yes
AP_GENPLIST= yes
+AP_EXTRAS+= -DWITH_LIBXML2
+AP_INC= ${LOCALBASE}/include/libxml2
+AP_LIB= ${LOCALBASE}/lib
+USE_GNOME= libxml2
MODULENAME= mod_security2
WRKSRCTOP= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKSRCTOP}/apache2
diff --git a/www/mod_security21/Makefile b/www/mod_security21/Makefile
index ab7e3439cbe0..5c6ca710f4d8 100644
--- a/www/mod_security21/Makefile
+++ b/www/mod_security21/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_security2
PORTVERSION= 2.1.7
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= http://www.modsecurity.org/download/
DISTNAME= ${PORTNAME:S/_//:S/2//}-apache_${PORTVERSION}
@@ -15,9 +16,12 @@ MAINTAINER= araujo@FreeBSD.org
COMMENT= An intrusion detection and prevention engine
USE_APACHE= 2.0+
-USE_GNOME= libxml2
AP_FAST_BUILD= yes
AP_GENPLIST= yes
+AP_EXTRAS+= -DWITH_LIBXML2
+AP_INC= ${LOCALBASE}/include/libxml2
+AP_LIB= ${LOCALBASE}/lib
+USE_GNOME= libxml2
MODULENAME= mod_security2
WRKSRCTOP= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKSRCTOP}/apache2