aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2009-07-29 04:51:46 +0800
committeraraujo <araujo@FreeBSD.org>2009-07-29 04:51:46 +0800
commitaa47fc5e445a62ff508a1b405587156f4322fb49 (patch)
treeb37cb139de68c98cee65ccabcc53b9f6ba64e342 /www
parentda406cdffcf90ebc49b5faad41b74341f12b0198 (diff)
downloadfreebsd-ports-gnome-aa47fc5e445a62ff508a1b405587156f4322fb49.tar.gz
freebsd-ports-gnome-aa47fc5e445a62ff508a1b405587156f4322fb49.tar.zst
freebsd-ports-gnome-aa47fc5e445a62ff508a1b405587156f4322fb49.zip
- Support updated to latest lang/lua library version.
- Fixed a wrong prefix when use WITH_MLOGC=yes. PR: ports/137214, ports/137215 Submitted by: Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
Diffstat (limited to 'www')
-rw-r--r--www/mod_security/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index f5f4fffe098e..d1fc2775b029 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_security
PORTVERSION= 2.5.9
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= SF
MASTER_SITE_SUBDIR= mod-security
@@ -45,7 +46,7 @@ OPTIONS= LUA "Embedded Lua language support" off \
.if !defined(SKIP_RULES)
SUB_FILES+= pkg-message.rules
.if defined(WITH_MLOGC)
-PLIST_FILES+= ${PREFIX}/bin/mlogc
+PLIST_FILES+= bin/mlogc
.endif
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules
PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2
@@ -75,7 +76,7 @@ PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules/modsecurity_
.if defined(WITH_LUA)
USE_LUA= 5.1+
CONFIGURE_ARGS+= --with-lua=${LOCALBASE}
-LIB_DEPENDS+= lua.1:${PORTSDIR}/lang/lua
+LIB_DEPENDS+= lua-5.1.1:${PORTSDIR}/lang/lua
.else
CONFIGURE_ARGS+= --without-lua
.endif