ports/137214: www/mod_security ports has wrong LIB_DEPEND for lang/lua

Oleg Ginzburg oleg.ginzburg at nevosoft.ru
Tue Jul 28 14:30:02 UTC 2009


>Number:         137214
>Category:       ports
>Synopsis:       www/mod_security ports has wrong LIB_DEPEND for lang/lua
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 28 14:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        8.0-BETA2
>Organization:
>Environment:
FreeBSD gizmo.nevosoft.local 8.0-BETA2 FreeBSD 8.0-BETA2 #3: Mon Jul 27 12:05:59 MSD 2009     root at gizmo.nevosoft.local:/usr/obj/usr/src/sys/WKS-GENERIC  amd64
>Description:
Currenlty, lang/lua ports produced library liblua-5.1.so.1

>How-To-Repeat:
make WITH_LUA=yes -C /usr/ports/www/mod_security
>Fix:
diff -ruN mod_security.bak/Makefile mod_security/Makefile
--- mod_security.bak/Makefile 2009-07-28 14:20:41.000000000 +0000
+++ mod_security/Makefile 2009-07-28 14:21:14.000000000 +0000
@@ -75,7 +75,7 @@
 .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


Patch attached with submission follows:

diff -ruN mod_security.bak/Makefile mod_security/Makefile
--- mod_security.bak/Makefile 2009-07-28 14:20:41.000000000 +0000
+++ mod_security/Makefile 2009-07-28 14:21:14.000000000 +0000
@@ -75,7 +75,7 @@
 .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



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list