Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 14:29:43 GMT
From:      Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/137214: www/mod_security ports has wrong LIB_DEPEND for lang/lua
Message-ID:  <200907281429.n6SEThpY026283@www.freebsd.org>
Resent-Message-ID: <200907281430.n6SEU2EO023324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907281429.n6SEThpY026283>